here’s the code…
if(op ==a)
cout << question;
getline(cin,answer)
traiteInfo(answer);
i’m tryin to put the informations entered by the user in the variable answer. I use getline because i have to take the whole information (especially it is a sentence). The problem i’m havin is as soon as the question is shown, the program doesn’t wait for the user, it just continue runnin.
anyone know how solve it