StarMechLX
Programmer
ok... this is what i want my code do to:
if the variable 'name' is "the same as(i'm not sure if there is the identical operator in cpp)" this string: 'StarMech'
and this is what i have:
if (name == "StarMech"
{
cout << "Verification Success!" << endl;
return 0;
} else {
cout << "Verification Failed!" << endl;
return 0;
}
i already have the character declaration and everything worked out, i just need this one peice of the code to work... whyyyy!!!!????!?!?!?!?
if the variable 'name' is "the same as(i'm not sure if there is the identical operator in cpp)" this string: 'StarMech'
and this is what i have:
if (name == "StarMech"
{
cout << "Verification Success!" << endl;
return 0;
} else {
cout << "Verification Failed!" << endl;
return 0;
}
i already have the character declaration and everything worked out, i just need this one peice of the code to work... whyyyy!!!!????!?!?!?!?