I'm sooooo confused.... I got Petzolds book on programming windows and it doesn't click... I just don't get anthing in it.... I'm starting to think it was a waste of 50 bucks... ::smacks head on desk::
I'm sooooo confused.... I got Petzolds book on programming windows and it doesn't click... I just don't get anthing in it.... I'm starting to think it was a waste of 50 bucks... ::smacks head on desk::
Work through it slowly, chapter by chapter. Dont worry if you dont "get" things first time. Just go back and reread what didnt sink in the first time. Step thru the code in your debugger line by line so you get a picture of whats happening.Most of all...... dont panic.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Is there anyway I can move the window creation stuff into another section so I don't have to see it every time... That throws me off... alot.
I know how you feel. Every time I see all that window creation code I collapse.
Put it in a class. There are a few here you can use: http://www.foosyerdoos.fsnet.co.uk/
the worst part is... i don't even know where to put the code that I write myself...
well, I did try and make it into two seperate functions WinMain and another function... That makes it a little clearer.