Learn notes for VC (1)

xiaoxiao2021-03-06  34

I have been doing PB for three years, long time, I really don't mean. I feel that I'm still better in my heart, so I always want to learn VC. It happens that the company has no project to do it, so you can have a lot of time to read. I saw some books today, I understand a few more blurred questions: I. The size of the data type: Byte is 8-bit unsigned integer words are 16-bit unsigned integer DWord is 32-bit unsigned integer long is 32-bit Symbol integer uint is also 32-bit unsigned integer BSTR is 32-bit character pointer lpcstr is a string constant 32-bit pointer lpstr is a string variable 32-bit pointer LPCTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTSTR is Unicode and DBCS string variable 32-bit pointer LPCRect is a pointer LPVOID to the RECT structure constant is a pointer LPARAM that is not specified type is a parameter passed to the Window process. The 32-bit WPARAM is a parameter passing to the Window process, 32-bit, predefined macro: Assert is used When an expression value is false, print a message, and then abortion this program assert_kindof tests whether an object is an object of a specified class or whether it is an object assert_valid that is specified by a specified class class, and the internal legality of the test object. TRACE provides an output function similar to PrintF in the debug period. The structure can also define functions, structures, and classes of the function, the default structure of the member variable is public, and the class is a private four, static effect, if you use Static to limit member variables The value of this variable is the same in all class objects, if used to limit the member function, in this function only belongs to a class, not with any object. V. V. Virtual's role, if it is not a virtual function, in the subclass's function, the function of the base class has always been called. If it is a virtual function, it is determined according to the specific pointer or address to the function of the quilt class or subclass of the subclass.

转载请注明原文地址:https://www.9cbs.com/read-62667.html

New Post(0)