标签: c++ substr
the code i wrote
我在这里做错了什么,它给了我一个错误并且非常基本。
print
答案 0 :(得分:2)
你需要
# include <string>
为 << 定义 std::string
<<
std::string