首先要#include <string>
其次还要使用标准命名空间,即:
using namespace std;
自己老是忘记,放到这里以备后用
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3