摘要: puts()相对于scanf()的好处在于,它会在输出的时候,自动添加换行。但是在输出字符串的时候,有些特别的地方。一下例子可以说明我的想法。 1 #include "stdafx.h" 2 #include 3 #include 4 #include 5 //#define AGELIMIT 18 6 //#include"inputAge.h" 7 int _tmain(int argc, _TCHAR* argv[]) 8 { 9 10 char name[20];11 char newName[20];12 printf("input 阅读全文
posted @ 2014-01-15 13:11 williamcai 阅读(487) 评论(0) 推荐(0) 编辑