Things I have Actually Learned Myself, Not Read In A List of Pithy Statements
Arrays are evil. Dynamically allocated arrays doubly so.
Everything They told you about off-by-one array indices is true.
Learn to use the debugger. Meaningful stack traces are worth at least an hour each.
If the error says "memory," run it in valgrind.
Never trust a GUI that doesn't save its configuration in a readable, editable text file.
GUIs that save their configuration properly are really nice to have.
Just because you got away with putting the first homework off to the last minute doesn't mean any subsequent homework will go just as well.
Last edited by 01d55; 01-18-2010 at 04:53 PM.
Reason: Forgot about valgrind!
|