Monday, May 16, 2011

Comment!


Make comments in your code often. Not only does it help people who are trying to help you understand it more, when you come back later, you'll be able to pick up where you left off and edit much faster. Fore example:
int start; /*the start flag for the game loop*/

Use either // or /* depending on your compiler and language.

You can read more here about writing http://www.cprogramming.com/tutorial/comments.html