Windows programming:Reference or memory?,
Members - Reputation: 182
Posted 11 January 2002 - 05:03 PM
Members - Reputation: 476
Posted 11 January 2002 - 05:13 PM
Members - Reputation: 122
Posted 11 January 2002 - 05:21 PM
Well the Winmain for almost everything program you write is the same so basically most setup some kind of template so they can easily write better code without thinking too much about the WinMain function. Secondly its not important to remember all the code - after programming for some time one gets used to using glColor3f(red,green,blue), glVertex3f(x,y,z) as it gets used often enough. Its important to understand how it works, not how to remember. There are about a 200-300 function calls in every API out of which you will use only a few that is extremely important to you.
Some codes actually end up being remembered, sometimes you have to think, sometimes a certain function can be used to do some nifty things. The whole idea is to understand what the code or function does.
You should realize that everyone looks it up. How the code gets used vary.