another text game question
im also trying to make a text game but its kind of like a "choose your own adventure" type. im using the cout "choose this" thing with if and else statements but i ran into some problems..first, i cant get it to recognize between the if and the else outputs. if i use "if (first == '1')" then whatever input i give it, it tells me the 'if' statement output, but when i use "if(first != '1') then i only get the 'else' statement output. second, whats an easy way to get my game to branch out so if i choose "left" then the game can go this way, but if i choose "right" then it goes this way instead of ending if i choose the wrong way. i used to do this stuff with line code like "goto 100" but now that i have no line numbers i cant seem to get a game plan going (i know..still stuck in the past) any help will be appreciated!