[阅读: 550] 2005-02-22 03:59:51
// tt.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <conio.h>
#define FALSE 0
#define TRUE (!FALSE)
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[20] = { 2 }; /* Maximum characters in 1st byte */
_cgets( buffer);
}
int _tmain(int argc, _TCHAR* argv[])
{
Test(2);
return 0;
}
夫习拳艺者,对已者十之七八,对人者,仅十之二三耳。拳艺之道,深无止境。得其浅者,一人敌,得其深者,何尝不万人敌耶!
我的Google Picasa相册
我的新BLOG