摘要:
1 // LinkListDemo.cpp : Defines the entry point for the console application. 2 // 3 4 #include "stdafx.h" 5 6 #include 7 #include 8 using... 阅读全文
posted @ 2015-01-21 14:02
披头
阅读(197)
评论(0)
推荐(0)
摘要:
void Invalidate( BOOL bErase = TRUE );参数: bErase 决定了是否要在WM_PAINT消息前发送WN_ERASEBKGND参数bErase为TRUE时,重绘区域内的背景将被擦除,否则,背景将保持不变。作用:该函数的作用是使整个窗口客户区无效。窗口的客户区无效... 阅读全文
posted @ 2015-01-21 13:59
披头
阅读(329)
评论(0)
推荐(0)
摘要:
GetMessage()原型:BOOL GetMessage(LPMSG lpMsg, HWND hWNd, UINT wMsgFilterMin, UINT wMsgFilterMax);Retrieves a message from the calling threads queque. Th... 阅读全文
posted @ 2015-01-21 13:58
披头
阅读(4122)
评论(0)
推荐(0)
摘要:
C语言程序编译的内存分配:1.栈区(stack) --编译器自动分配释放,主要存放函数的参数值,局部变量值等;2.堆区(heap) --由程序员分配释放;3.全局区或静态区 --存放全局变量和静态变量;程序结束时由系统释放,分为全局初始化区和全局未初始化区;4.字符常量区 --常量字符串放与此,程序... 阅读全文
posted @ 2015-01-21 13:56
披头
阅读(496)
评论(0)
推荐(0)
摘要:
assert() 宏用法注意:assert是宏,而不是函数。在C的assert.h头文件中。#inlcude 用法:void assert( int expression );assert的作用是先计算表达式expression,如果其值为假(即为0),那么它先向标准错误流stderr打印一条出错信... 阅读全文
posted @ 2015-01-21 13:54
披头
阅读(257)
评论(0)
推荐(0)