Win API tutorials: theForger vs Reliable Software
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?
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!
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!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement