
c++string要包含哪个头文件
1个回答
展开全部
#include <iostream>
#include <string>
using namespace std;
int fun () {
string abc; //调用只用<iostream>就可以
}
#include <string>
using namespace std;
int fun () {
string abc; //调用只用<iostream>就可以
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询