摘要:
代码如下--------------------------------------------------------------intmain(){charch;intcount=0;cin.get(ch);while(cin.fail()==false){cout<<ch;count++;cin.get(ch);}cout<<"\n"<<count<<"charactersread\n";return0;}------------------------------------------------ 阅读全文
posted @ 2012-05-11 18:10 科创园 阅读(1778) 评论(0) 推荐(0) 编辑