Originally Posted by
anon
Ah, almost all the "best" practices of C++ in one:
- using directive;
- globals;
- l and O and 1 and 0 in variable names is always fun!!!
- space-efficient spacing (makes the code concise and program faster too);
- clever use of typedefs to make code even more effective;
- magic values (much better than using constants, which would always make you look up what l0OO1l stands for);
- nice use of comma-operator - wow, this code must be fast!
Couple of things are missing though.
#include <iostream.h>
#defines - a must for fast code
goto - for extra fast code.
I'm sure the professor will be delighted!
-