/ /ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "iostream"
#define PRINT(i) printf("STU"#i"has %d money", student##i)
int _tmain(int argc, _TCHAR* argv[])
{
int student1 = 100;
PRINT(1);
system("pause");
return 0;
}
//
#include "stdafx.h"
#include "iostream"
#define PRINT(i) printf("STU"#i"has %d money", student##i)
int _tmain(int argc, _TCHAR* argv[])
{
int student1 = 100;
PRINT(1);
system("pause");
return 0;
}