View Single Post
Unread 01-17-2010, 05:02 PM   #20
01d55
Not 55 years old.
 
01d55's Avatar
 
Join Date: Dec 2003
Posts: 2,098
01d55 is a real American hero. 01d55 is a real American hero. 01d55 is a real American hero. 01d55 is a real American hero. 01d55 is a real American hero. 01d55 is a real American hero.
Default 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!
01d55 is offline Add to 01d55's Reputation   Reply With Quote