更新时间2019-03-23 20:09:26
#include <math.h>
#include <iostream>
using namespace std;
int main()
{
char a[5];
cin>>a;
if(strcmp(a,"zwy")==0)
{
cout<<"fuck"<<endl;
}
return 0;
}
你的头文件不对,
#include <math.h> //不用这个头文件
要用
#include <string.h>
以下是在dev-cpp下运行成功的测试
去专业的培训中心学习下
上一篇:60V转把和24V转吧能通用吗
下一篇:台式电脑没声音