I am new to MS Visual C++ and I am currently reading "Programming Microsoft Visual C++" 5e to get up to speed with the Internals of MFC. It is a good book but one thing it doesn't attempt to do (and they explain why in the introduction) is explain all of the Classes, Stucts, Keywords etc. in detail. So as I come across these new parts of MFC that seem unclear I look them up in the MSDN Library and find most of what I need to know in more detail. But I am confused why MFC uses the data types they use when many of them seem to be the same. For instance:
UINT is an unsigned integer
DWORD is a 32 bit unsigned integer
WORD is a 16 bit unsigned integer
I assume that the last one is defined somewhere as follows:
typedef unsigned int UINT;
But what are the last two? Why does MFC define them, if they are the same as built in C++ data types, or are they? Can someone clarify this for me. Thanks in advance.
David
UINT is an unsigned integer
DWORD is a 32 bit unsigned integer
WORD is a 16 bit unsigned integer
I assume that the last one is defined somewhere as follows:
typedef unsigned int UINT;
But what are the last two? Why does MFC define them, if they are the same as built in C++ data types, or are they? Can someone clarify this for me. Thanks in advance.
David