调用字符串处理函数是出现...was not declared in this scope ,怎样解决。拜求!
例如:#include<iostream>#include<string>usingnamespacestd;intmain(){cout<<strcmp("China"...
例如:
#include<iostream>
#include<string>
using namespace std;
int main(){
cout<<strcmp("China","Koina")<<endl;
return 0;
}
5: error: 'strcmp' was not declared in this scope 展开
#include<iostream>
#include<string>
using namespace std;
int main(){
cout<<strcmp("China","Koina")<<endl;
return 0;
}
5: error: 'strcmp' was not declared in this scope 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询