Quote:
Originally posted by abc123
not to mention it has exception handling - which c does not have at all, try/catch so its completely wrong to suggest its based on c.
|
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++).