#include "stdafx.h"
#define PRAISE "what a super marvelous name!"
int _tmain(int argc, _TCHAR* argv[])
{
char name[40];
printf("What's your name?\n");
scanf_s("%s",name, 40);
//scanf_s()在调用时,必须提供一个数字以表明最多读取多少位字符
printf("Hello,%s.%s\n",name,PRAISE);
while(1);
return 0;;
}