中国开发网: 论坛: 程序员情感CBD: 贴子 100706
Miracle
我这样写,还是一样
#include "stdafx.h"
#include "io.h"
#include <conio.h>
#include <ctype.h>


void Test(bool bRun)
{
if (bRun == true)
{
_cputs("bRun == TRUE\r\n");
}
else if (bRun == 2)
{
_cputs("bRun == 2\r\n");
}
else
{
_cputs("case 3\r\n");
}
char buffer[83] = { 80 }; /* Maximum characters in 1st byte */
_cgets( buffer);
}

int _tmain(int argc, _TCHAR* argv[])
{
Test(2);
return 0;
}
夫习拳艺者,对已者十之七八,对人者,仅十之二三耳。拳艺之道,深无止境。得其浅者,一人敌,得其深者,何尝不万人敌耶!
我的Google Picasa相册
我的新BLOG

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录