在C語言中提供兩種支援字串的方式. 1. 可以使用傳統以null結尾的字元陣列. 2. 使用string類別 string類別是basic_string樣板類別的一特 ... replace(); //取代字串.
確定! 回上一頁