book

This is a discussion on book within the Windows Programming forums, part of the Platform Specific Boards category; Petzold's Programming Windows 95 Guide Okay, is this book still applicable?...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    95

    book

    Petzold's Programming Windows 95 Guide

    Okay, is this book still applicable?
    Think out of the box! Open Source rules!

    -Breach23

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    YES very much so.

    Good for a start into the WIN32 API but lacks basic C eg Mem allocs. If you know C/C++ it will give a good start on the API.

    Get a copy of the CD to try.

  3. #3
    .
    Join Date
    Aug 2001
    Posts
    598
    FYI Programming Windows 5th edtion would be better.
    To Err Is To Be Human. To Game Is Divine!"

  4. #4
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    I am new to Windows programming and I purchased this book (5th Edition) about a week ago and I am loving it already. It teaches really well.

    > Good for a start into the WIN32 API but lacks basic C eg Mem allocs.

    This is true. I don't think it is a bad thing though. Charles Petzold says in the introduction that this book assumes three things: You have a good understanding of C (especially structs and pointers), that you know how to use Windows (the OS), and one other thing (can't quite remember). It isn't a book to teach you C, but Windows programming in C.

    Well, anyway, a week after starting (6 days, actually), I've already learned to set the window class, register the window, create it, and show it. And receive messages with the window's WndProc and do the appropriate actions. I love this book!

    --Garfield
    1978 Silver Anniversary Corvette

  5. #5
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    But in WIN32 API you don't use malloc realloc ect.

    Use GlobalAlloc(), GlobalLock(), GlobalHandle() and GlobalFree() (creating pointers or handles to mem blocks).

    None of these functions are explained.
    "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

  6. #6
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    > But in WIN32 API you don't use malloc realloc ect.

    Why not? Allocating is allocating no matter how you put it.

    --Garfield
    1978 Silver Anniversary Corvette

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, 06:46 AM
  2. Can't display book and borrower's details.
    By grscot in forum C++ Programming
    Replies: 0
    Last Post: 05-02-2003, 11:18 AM
  3. 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
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21