Study some MFC - it effectively is a lib of wrapper classes for the win32api.
wrapper classes help you program using the OO paradigm, and not the procedural programing that win32api is based on.
example:
if you want to work with strings you would define myStr char[100] and perform operations on it like: strlen(myStr) etc.
while if you use CString class wrapper for strings you will have you char[] wrapped in the class and perform actions on it using class conventions: CString myStr; myStr.Empty()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.