Sign in to follow this  
Britmonkey

Windows Programming

Recommended Posts

I have just finished a book introducing me to C++ programming which covered all the main concepts such as classes, polymorphism etc. Please can somebody suggest a great book/online tutorial where I can learn windows programming. I want to be able to use directx ultimately as well. It would also be really helpful if you could say how you learnt to program for windows as well.

Share this post


Link to post
Share on other sites
You don't neccesarily have to jump straight into Win32/DirectX coding, practice using SDL or a graphics engine like Ogre3D are good too.

That said, there's nothing wrong with going that path if you want, i'd suggest here. Very good website to learn the basics of Win32 and Directx from.

Share this post


Link to post
Share on other sites
I suggest cross referencing. One source is usually not enough. There are plenty of books out there. I suggest "Beginning Game Programming" By Johnathan S. Harbour

It's a decent book for beginners and he covers lots of basic windows programming, then moves on to DirectX 9

Anyways, my point is, don't always rely on one source, and re-read. Things will be like "wtf is this guy talking about" the first time you see it, but after seeing it over and over, it soon clicks all together.

btw, I'm taking the same path as you (though probably less knowledge on C++) and I'm faring...pretty well considering I've only been at it for 2 weeks. So stick with it and it will make sense...kinda. lol

Share this post


Link to post
Share on other sites
Charles Petzold's "Programming Windows" is generally considered to be the definitive book on the Win32 API -- if there's any one book you should have, its this one.

He's also written books on Windows Form and WPF programming, which are more modern takes on Windows GUI programming in .Net languages.

Share this post


Link to post
Share on other sites
Read the Bible, the Petzold (http://www.charlespetzold.com/pw5/index.html), then the Richter (http://www.amazon.com/Programming-Applications-Microsoft-Windows-General/dp/1572319968) and the Win32 ng (news://comp.os.ms-windows.programmer.win32) for (very) advanced and undocumented stuff - like source code for most apis (Shell, Kernel, GDI ..)

Share this post


Link to post
Share on other sites
Quote:
Original post by Satharis
That said, there's nothing wrong with going that path if you want, i'd suggest here. Very good website to learn the basics of Win32 and Directx from.


If I may, that website is not really a good place to learn from. The tutorials don't do any kind of error checking, which is a terrible idea, because if anything goes wrong your application will crash and you'll have no clue as to what exactly failed.

I recommend Evil Steve's tutorial instead. It's much more complete.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this