摘要: 1.我疑惑了 char a[20]; while(scanf("%s",a)!=EOF){ cout<<"hello"<<endl; }为什么要按两下ctrl+z 才能结束呢??2.小插曲http://zhidao.baidu.com/link?url=-2b2_s5futoSJOVPW4Q0_n... 阅读全文
posted @ 2014-10-09 21:17 gongpixin 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1.printf不能输出string类型数据 阅读全文
posted @ 2014-10-09 20:33 gongpixin 阅读(161) 评论(0) 推荐(0) 编辑