從C 背景來的開發者可能會想,這種風格像是C 的結構(struct),在C++ 中, struct 也被視為 ... std::to_string 是C++ 11 定義在 string 中的函式,執行結果如下:
確定! 回上一頁