Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Random things that piss you off about C++

Name: Anonymous 2004-12-31 9:02

I hate how function declarations and function definitions usually don't look the same. For example

Declaration:
virtual void doShit()

Definition:
void MyNamespace::MyClass::doShit()

Name: Anonymous 2010-10-03 10:04

>>74
Really? That's disgusting, what the hell was wrong with NULL? Too uppercase?

Writing 0 is mega bad, because it makes it impossible to tell at a glance that something is supposed to be a pointer type. With NULL, a variable, or an explicitly-cast direct memory location, it's plainly obvious that it isn't just an integer.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List