#include<iostream>
#include<string>
using namespace std;
int main()
{
string a;
cout<<"要选择的英雄";
cin>>a;
if(a=="Draven")
cout<<"Welcon to the League of Draven"<<endl;
return 0;
}
运行结果:
#include<iostream>
#include<string>
using namespace std;
int main()
{
string a;
cout<<"要选择的英雄";
cin>>a;
if(a=="Draven")
cout<<"Welcon to the League of Draven"<<endl;
return 0;
}
运行结果: