Nothing good to post about today? weak.
Try this in C++:
try{
MyClass* mine = new MyClass();
delete mine;
mine->someFunction();
}
catch(exception e) {
// I should catch an exception, right?
}
Actually, no. You do get a null reference error though. That's some handy error-handling. Easy to find bug, too.
Pain. In. The. Ass.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment