## 作用 提供了將數據格式化到字符串或從字符串讀取數據的功能。常用的類別有: ## 常用操作 1. `std::istringstream`:用來從字符串中提取數據(類似於從 cin 讀取數據)。 2. `std::ostringstream`:用來將數據寫入字符串(類似於將數據輸出到 cout)。 3. `std::stringstream`(推薦):既能讀取字符串也能寫入字符串,具備以上兩者的功能。
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up