原创 C++string對象和字符串字面值的連接,+操作
當進行string對象和字符串字面值進行連接時,+操作符的左右至少出現一個是string類型的。 string s1 = "hello"; string s2 = "world"; string s3 = s1 + ",";//ok
原创 好玩的網站收集
1.http://www.michaelv.org/ windows3.1網頁版 2.http://cb.vu/ Unix Shell命令行界面
當進行string對象和字符串字面值進行連接時,+操作符的左右至少出現一個是string類型的。 string s1 = "hello"; string s2 = "world"; string s3 = s1 + ",";//ok
1.http://www.michaelv.org/ windows3.1網頁版 2.http://cb.vu/ Unix Shell命令行界面