相关疑难解决方法(0)

C++使用空格和引号标记字符串

我想用C++编写一些标记字符串的东西.要解释我想要的内容,请使用以下字符串:

add string "this is a string with spaces!"
Run Code Online (Sandbox Code Playgroud)

必须按如下方式拆分:

add
string
this is a string with spaces!
Run Code Online (Sandbox Code Playgroud)

是否有基于标准库的快速方法?

c++ string token

4
推荐指数
3
解决办法
7481
查看次数

标签 统计

c++ ×1

string ×1

token ×1