Sunday, August 2, 2009

Whats the best resource for windows programming in C++?

Hello, I wist to start programming windows apps in C++. How did you learn to program in Windows? (What book, Websites?)





- Cheers, Daniel

Whats the best resource for windows programming in C++?
Charles Petzold wrote several programming in Windows books for beginners. They are well written and easy to understand. They are for C programmers only though. Windows doesn't run C++ apps native. You have to use the MFC wrapper to get them to work properly. C programs run native.
Reply:First, if you are not familiar with C and C++ both, then stop, back up and start with them in console mode. You'll need C to use the Windows APIs directly, though it will work fine in a C++ compiler with the right options set. Links to good things for free can be found at the first URL.


Second, if you are already familiar with C++ and C, then try the excellent tutorial available at the second URL. It deals very well with familiarizing you with the concepts of API programming in the Windows environment. I hope this helps you out.
Reply:don't start out with wondows programming. start with C++ programming in general





once you understand that, move into the COM/MFC/ATL/WIN32 programming





try http://cplusplus.com for a few good tutorials





the Bloodshed complier is good fre IDE, also Visual C++ Express is free and give you the full power of Visual Studio when you are ready for Win32 apps.

white flowers

No comments:

Post a Comment