I am trying to do a text adventure game but I am having a problem. I can't seem to get my if thens to take text like North. Let me show you what I mean.
I think that made sense...but someone please tell me how to make it so my if thens let me enter text for the conditon...anyone?Code:#include <iostream.h> int main(); { int directions; cout<<"What do you want to do?"; cin>>directions; if (directions==north) { whatever }