摘要: char p='z';int c=1;cout<<"please input the word:"<<endl;cin>>p;while(p!='\n'){c=Via.Realize(p,c);p=getchar();//这里不能再用cin>>p,因为cin好像可以自动省略回车字符,之前用cin怎么都不能停止输入,会输入很多行。} 阅读全文
posted @ 2013-03-16 15:39 开心成长 阅读(335) 评论(0) 推荐(0) 编辑