Jump to content
  • Advertisement
Sign in to follow this  
Britmonkey

Windows Programming

This topic is 3258 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!