yanvictory

导航

 

2009年6月12日

摘要: #include<iostream>#include<vector>using namespace std;int main(){vector<int> num;int num1;while(cin>>num1)cout<<num.size()<<endl; return 0;} 阅读全文
posted @ 2009-06-12 14:03 yanvictory 阅读(130) 评论(0) 推荐(0) 编辑
 
摘要: STL(Standard Template Library,标准模板库)是惠普实验室开发的一系列软件的统称。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普实验室工作时所开发出来的。现在虽说它主要出现在C++中,但在被引入C++之前该技术就已经存在了很长的一段时间。  STL的代码从广义上讲分为三类:algorithm(算法)、container(容... 阅读全文
posted @ 2009-06-12 13:25 yanvictory 阅读(170) 评论(0) 推荐(0) 编辑