I'm writing a simple RPG, and am trying to utilize cin and switch, but my issue is that cin always skips one line, rendering me unable to use between menu borders. How do I make cin stop doing this?
For cin:
cin will by default read until a space or a newline character, so use getline(cin,mystring) or cin.getline(mycstring,mynumber) to read past spaces.
For cout:
endl will automatically stream a newline to the buffer in cout. I am guessing you want to achieve this?
cout << "/ /" << "Whoo this random dungeon stuff like the floor!" << "/ /" << endl;
You should reconsider your design if you have to resort to printing out the image with multiple lines of cout.