Quote:
Originally posted by joe_bruin
hmmm....
Code:
$ cat main.cpp
#include <iostream.h>
int main(int argc, char *argv[])
{
try
{
cout << "dude, i know" << endl;
}
catch(int e) { }
return 0;
}
$ g++ main.cpp
$ ./a.out
dude, i know
$
...looks like exception handling to me (not available in c, only c++).
|
joe.. remind me again where i said c++ didn't have exception handling?