Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by StarMechLX

  1. StarMechLX

    checking character strings with an if statement

    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."
  2. StarMechLX

    checking character strings with an if statement

    ok... this is what i want my code do to: if the variable 'name' is &quot;the same as(i'm not sure if there is the identical operator in cpp)&quot; this string: 'StarMech' and this is what i have: if (name == &quot;StarMech&quot;) { cout << &quot;Verification Success!&quot; << endl; return 0...

Part and Inventory Search

Back
Top