Loading...
参考文章:http://www.cppblog.com/cxl82116/archive/2007/07/08/27669.aspx【1.string 的初始化】string test1; //空串 string test2 = "内容"; //使用= string test3("内容"); //使用引用字符数组作为参数传给构造函数 string test4(te...