I'm kind of new to c++ but I've made a few things. I have a problem and was hoping someone could help.
when I have a piece of code like
if the user types spaces the program will just shut down. likePHP Code:
cout<< "Whats the food?";
program: "whats the food? "
user: "pizza and salad"
the program would just shut off
program: "whats the food?"
any solution would be great