摘要:
5.5循环和文本输入使用cin进行输入 1 #include 2 int main() 3 { 4 using namespace std; 5 char ch; 6 int count=0; 7 cout>ch; 9 while(ch!='#')10 ... 阅读全文
posted @ 2014-12-04 16:46
陶修瑕
阅读(164)
评论(0)
推荐(0)
摘要:
5.1 for循环c++对for循环的调整。允许for(int i=0;i 2 #include 3 using namespace std; 4 int main() 5 { 6 string word; 7 cout>word;10 11 for(int i=0,j=wo... 阅读全文
posted @ 2014-12-04 15:37
陶修瑕
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号