摘要:
#include "stdafx.h"#include #include using namespace std;void SetColor(unsigned short ForeColor=3,unsigned short BackGroundColor=0){ HANDLE hCon = Ge... 阅读全文
posted @ 2014-03-16 21:15
上海—Michael
阅读(219)
评论(0)
推荐(0)
摘要:
#include "stdafx.h"#include #define DIRNAME_LEN (MAX_PATH+2)BOOL PrintStrings(HANDLE hOut,...){ DWORD msgLen,count; LPCTSTR pMsg; va_list pMsgLi... 阅读全文
posted @ 2014-03-16 16:39
上海—Michael
阅读(416)
评论(0)
推荐(0)
摘要:
标准库提供的一些参数的数目可以有变化的函数。例如我们很熟悉的printf,它需要有一个格式串,还应根据需要为它提供任意多个“其他参数”。这种函数被称作“具有变长度参数表的函数”,或简称为“变参数函数”。我们写程序中有时也可能需要定义这种函数。要定义这类函数,就必须使用标准头文件,使用该文件提供的一套... 阅读全文
posted @ 2014-03-16 16:33
上海—Michael
阅读(3938)
评论(0)
推荐(0)
浙公网安备 33010602011771号