摘要: WNDCLASS类 typedef struct tagWNDCLASSW { UINT style; //窗口类类型 WNDPROC lpfnWndProc; //窗口处理过程,或者说窗口处理函数 int cbClsExtra; //该结构后跟随的可用额外内存的大小 int cbWndExtra; 阅读全文
posted @ 2020-03-28 13:38 坦坦荡荡 阅读(276) 评论(0) 推荐(0)
摘要: 函数原型: # include <stdio.h>int printf(const char *format, ...); 四种格式: 1) printf("字符串\n"); # include <stdio.h> int main(void) { printf("Hello World!\n"); 阅读全文
posted @ 2020-03-28 09:26 坦坦荡荡 阅读(102) 评论(0) 推荐(0)
摘要: 参数传递过程中,二个问题: 1 当参数多于1个时,按照什么顺序把参数入栈 2 函数调用后 ,由谁把栈恢复原貌 函数调用时,函数调用者依次把参数压栈,然后调用函数,函数调用后,在栈中取得数据,并进行计算。函数调用结束后, 或者调用者或者函数本身修改栈,使栈恢复原貌。 stdcall stdcall调用 阅读全文
posted @ 2020-03-28 08:31 坦坦荡荡 阅读(267) 评论(0) 推荐(0)