|
From: Noorez K. <dar...@ho...> - 2004-10-31 18:18:00
|
I am having trouble with my try,throw and catch statments.
I tried to do this...
try
{
//try to do whatever
throw "Did not work"
}
catch(char* error)
{
cout << error;
}
This did not work. The program quits with the error message abnormal program
termination.
But if I change " char* error " to " ... " then the catch statment will
work. Why didn't it work before?
_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|