Thread: Petzold

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    1

    Petzold

    The latest Petzold is 1999. However, I keep hearing that it is the Bible of Windows programmint. So, is Petzold obsolete or not?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Books by Charles Petzold
    It might be the best, if you can still be bothered to grapple with the windows API at the C level.

    But most of the world has since moved on in the decade++ that has passed.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Petzold's book is still the best when it comes to programming with the Win32 API. It's true that most programmers these days are moving towards .NET, so you first need to decide what it is you really want to learn.
    bit∙hub [bit-huhb] n. A source and destination for information.

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    6
    It is the best, but IMPOSSIBLE to find. I think it's out of print. I was very lucky and found a copy in the library of a campus on the other side of the state, and got it delivered to me. I think I remember seeing some second-hand copies on Amazon. Lucky I didn't buy one before I discovered this wonderful copy.

    My lecturer told us we are learning console C++ and win32 API because it will provide us with a solid foundation when it comes to learning more modern things. Otherwise you'll just learn methods and how to do stuff but not actually be able to understand it, so when you need to do something you haven't learned the steps for explicitly, you'll be stuck.

    I think if you want to be a serious, professional programmer, you should learn win32 before going onto modern things. If you want to just create little things here and there and not be serious, then you can do the modern stuff first.
    Last edited by Quantumcat; 10-03-2010 at 12:15 AM.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > you should learn win32 before going onto modern things
    Why?

    There are several other vast worlds of programming which have NOTHING at all to do with Microsoft. If MS GUI programming isnīt your thing (maybe itīs Linux, or embedded systems), then learning Win32 is a pointless distraction in the wrong direction.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  6. #6
    Registered User
    Join Date
    Oct 2010
    Posts
    6
    I meant more modern Windows things like .NET.

  7. #7
    Grey Wizard C_Sparky's Avatar
    Join Date
    Sep 2009
    Posts
    50
    Quote Originally Posted by Salem View Post
    > you should learn win32 before going onto modern things
    Why?

    There are several other vast worlds of programming which have NOTHING at all to do with Microsoft. If MS GUI programming isnīt your thing (maybe itīs Linux, or embedded systems), then learning Win32 is a pointless distraction in the wrong direction.
    The Windows API helped me learn a vast amount about programming in general. It is good to know for anyone, since it is so rigorous compared to .NET, Qt, etc...

    @OP:
    I'd highly suggest Programming Windows Fifth Edition by Charles Petzold, it is worth every penny, that man is a genius.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Odd, Iīve been programming professionally for a real long time, and Iīve never had to bother with the bloat.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  9. #9
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Quote Originally Posted by Salem View Post
    > you should learn win32 before going onto modern things
    Why?

    There are several other vast worlds of programming which have NOTHING at all to do with Microsoft. If MS GUI programming isnīt your thing (maybe itīs Linux, or embedded systems), then learning Win32 is a pointless distraction in the wrong direction.
    Salem, Let me translate for you: when he said "you should learn win32 before going onto modern things" what he probably meant was "...I cant be bothered learning the newer technologies like .Net or any of the cross-platform tool-kits so in my lectures - welcome to years ago.."


    Oh, and if you are going to go down the Win32 road, Petzold is about the best, but also look out Herb Schildt's* book - that is a good companion

    *Yes I know he is considered the devil in the programming book world, but his windows book was ok, was easy to pick up and should be pretty damn cheap if you find it second hand

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mr Petzold windows programming
    By terracota in forum Windows Programming
    Replies: 0
    Last Post: 07-24-2004, 07:09 PM
  2. Petzold...
    By cbc in forum Windows Programming
    Replies: 1
    Last Post: 10-20-2003, 07:21 PM
  3. petzold
    By Shakespeare in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2002, 07:03 AM
  4. What is Petzold and why does everyone worship it like a god?
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-16-2002, 08:48 PM
  5. Looking for Window Programming by Charles Petzold
    By Intimd8r in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 12-21-2001, 02:41 PM