Win API tutorials: theForger vs Reliable Software

Started by
0 comments, last by JWalsh 19 years, 6 months ago
Both sites have great tutorials but, their methods in setting up a basic window are completely diffrent.(ie: Reliable uses classes in their main windows skeleton whereas theForger does not.) theForger's tutorials are for C while Reliable's are for C++ but both compile and run perfectly in C++. Is any one method better than the other for C++ programming?
OS: WinXP HECOMPILER: DevC++ mingw32Programming since 10/3/2004 6:15:36 PMCurrent Project: An un-named MUDCompleted Projects:Tic-Tac-Toe (w32 console)PacMan (w32 console)Tetris (w32 console)Minesweeper (Allegro)BomberMan (Allegro)Chat Client (w32 console)
Advertisement
GamerCon,

The Win32 API is a C ( Not C++) Api. Most older tutorials you will find are written using C.

However, as C is a subset of C++, many people have discovered they can clean up their code and make it easier to understand by writing it using C++ classes instead. Its important to note that these C++ classes are just "wrappers" around the usual C code. If you look closely enough, you're bound to find the C code hidden within object methods.

Ultimately, it is whatever you prefer, although C++ has long since surpassed C in the gaming community. I'd suggest going with the C++ tutorials as they'll help you with your grasp of OO design if you're not already comfortable with it. Cheers!
Jeromy Walsh
Sr. Tools & Engine Programmer | Software Engineer
Microsoft Windows Phone Team
Chronicles of Elyria (An In-development MMORPG)
GameDevelopedia.com - Blog & Tutorials
GDNet Mentoring: XNA Workshop | C# Workshop | C++ Workshop
"The question is not how far, the question is do you possess the constitution, the depth of faith, to go as far as is needed?" - Il Duche, Boondock Saints

This topic is closed to new replies.

Advertisement