Thread: I'm Sooo Confused....

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    I'm Sooo Confused....

    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::

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    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

  3. #3
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    ?

    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.

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    99

    yeah

    I know how you feel. Every time I see all that window creation code I collapse.

  5. #5
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Put it in a class. There are a few here you can use: http://www.foosyerdoos.fsnet.co.uk/

  6. #6
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    ...

    the worst part is... i don't even know where to put the code that I write myself...

  7. #7
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    hm....

    well, I did try and make it into two seperate functions WinMain and another function... That makes it a little clearer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Confused with array size
    By desmond5 in forum C Programming
    Replies: 4
    Last Post: 12-04-2007, 05:14 PM
  2. New to C++ and confused by boolean and ifs and else
    By jconner in forum C++ Programming
    Replies: 10
    Last Post: 08-02-2006, 03:29 AM
  3. Confused about Memory
    By gL_nEwB in forum C++ Programming
    Replies: 22
    Last Post: 06-20-2006, 07:32 PM
  4. So Now Im getting confused?!?!?
    By zergdeath1 in forum C++ Programming
    Replies: 11
    Last Post: 03-06-2004, 05:41 PM
  5. confused.. in selecting my line of deapth
    By jawwadalam in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 05-04-2003, 01:21 PM