String
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 string str="i love you"; 9 cout<<str<<endl;10 string::iterator ptr; //智能指针11 for(ptr=str.begin();ptr!=str.end();ptr++)12 cout<<*ptr<<"";13 cout<<endl;14 string Cstr;15 Cstr= 阅读全文
posted @ 2013-07-12 10:52
张狂不年轻°
阅读(161)
评论(0)
推荐(0)
浙公网安备 33010602011771号