Can you explain please? :) i'm a newb when it comes to programming period. I just wanna have it to where it says like, if his input is 'look' like in a MUD, it posts the details of the room, instead of having to cout a bunch of lines saying "1 - Look around, 2 - blah blah blah ect. ect."
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.