Skip to main content
gamedev.net
🔒 Locked

Programming Windows book

Started by joeyg2477 Jan 23, 2004 at 5:24 PM 1 replies 200+ views
Original Post
joeyg2477
joeyg2477
ok i am thinking about buying the Programming Windows book by Charles Petzold ...Everywhere I have read said it is probably the best book for windows programming, but it uses C code....well my question is that since I am learning c++(at this time) will this book still be good for me (meaning the code in the book is in C so will the C++ version of the code be much different)... also if anyone has read this book please comment on it(it is kind of an old book so I am sure some of you have) thanx
hplus0603
hplus0603
C is a subset of C++. Thus, any C code can compile and run as-is with a C++ compiler, with VERY few exceptions (C allows you to use "new" as a variable name, for example).

I''d go with that book. You may think at some point something like: "why is he using function pointers when a virtual interface would be simpler?" and then you realize that that''s the difference between C and C++.
enum Bool { True, False, FileNotFound };
Xai
Xai
and of course if you are using .NET, there is the NEW Programming .NET book by Peltzoid ... just as humongous as the old book

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.