Hi all,
Please, help me with this strange problem. Whenever I invoke more than one getline(cin, string1) function in my codes, some of them are skipped at run-time i.e. the user is not prompted for input and the program simply jumps to another line e.g.in
getline (cin, string1);
getline (cin, string2);
The user is never prompted for string1. The user is only prompted for string2.