error C3861: “to_string”: 找不到标识符,VC2010环境下编译的,代码如下 是不是编译器的库有问题

2025-02-12 09:39:35
推荐回答(1个)
回答1:

你好,你使用string类型。却没有包含头文件。建议添加:#include ,再试试。