General C++ Programming - December 2008 (Page 10)

catch segmentation fault
 
Is there any way to catch segmentation fault for example ............ #include<iostream> using namespace std; int main() { try{ char *p; ...
[5 replies] Last: hi thanks for ur reply i will try to catch this (by rajeevr642)
dynamic_cast like type_id
 
Hello Everyone, I'm trying to find a way to do a dynamic cast to the most derived object given a base class pointer or object. I've looked through the forums ...
[12 replies] Last: seymore15074, I don't think you read the discussion clearly. Using t... (by JivanAmara)
River Crossing Problem
 
I would really appreciate it if someone could tell me what is wrong with the following code: #include <iostream.h> #include <stdlib.h> //Define the objec...
[9 replies] Last: Thanks for your advice Duoas (by notmecy)
what is a tpp file?
 
I am working on a c++ project for school, and the teacher mandates that we use a .tpp file for our next program. I dont really understand the inportance of a .t...
[3 replies] Last: Complain to the school curriculum department that your teacher is usin... (by Duthomhas)
by karang
MSXML
 
Hi I am trying to use MSXML. But I am getting error in that so I explored internet and found one useful articles regarding the installation of MSXML http:...
[1 reply] : http://www.microsoft.com/downloads/details.aspx?FamilyId=993C0BCF-3BCF... (by Zaita)
Using rand() ina class
 
Hi! I was building a simple example of a class that represents a "dice". At this point i have: Dice.h #include <cstdlib> #ifndef DICE_H #define DICE_...
[6 replies] Last: I will use srand() in main, because otherwise i will be running away f... (by graciano)
Strange for loop problem.
 
Hi all, I'm not sure if this belongs here or the Windows forum more, but I'll have a go here. I have a piece of code with a for loop that collects object po...
[6 replies] Last: Ok helios, Now I get it, thanks. (by JivanAmara)
Basic Blackjack C++ Program...
 
My names Rich; I'm new to these forums, and I am needing some help with a project of mine, and i just can't see to figure this out.. Appreciate the help in ...
[4 replies] Last: Perhaps you should first define the steps the functions should take in... (by helios)
i am new to c++
 
1. printf("%d", 10*5/10); what is this result? 2. printf("%d", 10+5-5); what is this result? 3. a=d++ +(b=a); a=4,b=4,d=4 a=? 4. c...
[17 replies] Last: I suppose in Soviet Russia, initializations go after operations. And ... (by helios)
December 2008 Pages: 1... 8910
  Archived months: [nov2008] [jan2009]

This is an archived page. To post a new message, go to the current page.