首页 > 其他 > 详细

exercises 3.14-3.15

时间:2015-04-17 09:35:18      阅读:142      评论:0      收藏:0      [点我收藏+]
 1 #include <iostream>
 2 #include <string>
 3 #include <vector>
 4 using std::string;
 5 using std::vector;
 6 using namespace std;
 7 
 8 int main()
 9 {
10     int text;
11     vector<int> temp;
12     while(cin>>text){
13         temp.push_back(text);
14     }
15     
16     string text1;
17     vector<string> temp1;
18     while(cin>>text1){
19         temp1.push_back(text1);
20     }
21     
22     return 0;
23 }

 

exercises 3.14-3.15

原文:http://www.cnblogs.com/austuode/p/4433978.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!