Best Book To Buy
Whats the best book to get on windows programming, I hers petzols book didn't compile good with windows 98 and thats what i have so any suggestions on the best book i should get, i want something that will show me the controlls and how to use stuff. I also hear about Win32 programming but heard that was advanced, what you you guys suggest
I have petzolds book, it's ok, i haven't compiled anything so i wouldn't know about that. I recommend a book called game programming for windows (something along those lines) it goes into detail on how to make windows programs, then goes into depth on making games after thats covered. Surprised me on how great a resource it really was. good luck
Win32 is the Windows API. If you program for Windows, you are using Win32, (it may be wrapped up in a class library, but it's still underneath everything).
Petzolds is fine, I don't know why there is a doubt about 98, one of my systems has 95 on it! Herbert Schildt is also worth looking at, his books are more or less compiler neutral - he often gives MS and Borland examples where they are different.
For Win32 API: Programming Windows, The Definitive Guide to the Win32 API by Charles Petzold
For MFC: Programming Windows With MFC by Jeff Prosise
Good low-cost book
I just yesterday picked up a nice book with lots of win32 api info in it. It is called 'Windows 98 Programming from the ground up' by Herbert Schildt ... I got it in the bargain bin at CompUSA for 14.95
The source code in the book is online at www.osborne.com .. http://www.osborne.com/downloads/0078823064_code.zip go and look at the source code and that will show you what sort of stuff is covered. Maybe a CompUSA near you has the same book on sale :-)
>>> For MFC: Programming Windows With MFC by Jeff Prosise
True, but I think this book assumes a "non beginner" audience. I think it would frighten a novice with C++.
I would also, always, advocate learning the API before a class library such as MFC.
For a beginner:Introduction to MFC Programming With Visual C++ by Richard Jones.