std string 的常用使用
摘要:用 string来代替char * 数组,使用sort排序算法来排序,用unique 函数来去重 1、Define string s1 = "hello"; string s2 = "world"; string s3 = s1 + "," + s2 +"!\n"; 2、append s1 += ",shanshan\n"; 3、Co...
阅读全文
posted @ 2008-01-02 12:02
posted @ 2008-01-02 12:02
posted @ 2007-12-24 14:04