2015年6月22日

STL之string插入

摘要: 1 #include 2 #include 3 4 using namespace std; 5 int main() 6 { 7 string s("hello"); 8 string s2("abcdef"); 9 10 string::ite... 阅读全文

posted @ 2015-06-22 21:25 阳台 阅读(1009) 评论(0) 推荐(0)

STL之string

摘要: string构造函数,很多重载函数; 1 #include 2 #include 3 4 using namespace std; 5 int main() 6 { 7 string s1; 8 cout << s1 << endl; 9 10 string s2(5... 阅读全文

posted @ 2015-06-22 09:36 阳台 阅读(182) 评论(0) 推荐(0)

导航