Thread: looking for Windows Programming in C book...

  1. #1
    plzduntlakliekthiskthx
    Join Date
    Oct 2002
    Posts
    138

    looking for Windows Programming in C book...

    Just like the subject says, I am looking for a book on Windows Programming in C. After consulting some more experienced programmers, I have come to the conclusion that I should learn C before I learn C++ (what I orignally intended to learn). I want to make some simple windows programs to start. I have very little programming experience, and have worked a little in C++ making dinky console apps. Any reccomendation for a book would be helpful. It will go along side with my C Programming book by K&R.
    Thanks!

  2. #2
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Definitely be "Programming Windows" by Charles Petzold.

  3. #3
    plzduntlakliekthiskthx
    Join Date
    Oct 2002
    Posts
    138
    ok cool! Would everything in windows programming be the same in Winxp as it is in win98? Cause I know xp looks different hehe.

  4. #4
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Well the basics are the same. The book is not THAT new. I'm not sure about getting the xp interface though.

  5. #5
    plzduntlakliekthiskthx
    Join Date
    Oct 2002
    Posts
    138
    ok, so should I use win98 instead of xp pro? Those are the only 2 windows I have.

  6. #6
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Use Xp pro. What you program will definitely work on xp pro, what i said not sure was refering to the specific interface features available on xp, not the core windows programming functions.

  7. #7
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    >>so should I use win98 instead of xp pro?

    Both are very, very similar. Code should be reasonable portable between them. If you use the latest functions you should be OK.

    ie InitCommonControlsEx() rather than InitCommonControls()

    Test on both as NT based Windows is stricter but I doulbt you will see a any diff. (Read the help as it will tell which OS's support which versions of the WIN32 API functions)

    I would get Petzold's, it is very good, OH, and ignore Troll King, as he isn't.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  8. #8
    plzduntlakliekthiskthx
    Join Date
    Oct 2002
    Posts
    138
    Thanks guys! That cleared up a lot of things. I will be getting the Petzoid book this weekend and will begin my journey! Wish me luck

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. URGENT: Help wanted...in C
    By iamjimjohn in forum C Programming
    Replies: 16
    Last Post: 05-18-2007, 05:46 AM
  2. Books on C and C++
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-28-2002, 04:18 PM
  3. Newbie - MFC code from a book in VC++.Net
    By Guardian in forum Windows Programming
    Replies: 2
    Last Post: 04-27-2002, 07:17 PM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM