odd behavior of cin.getline when it follows cin
Im having a bit of a problem with this:
The program compiles fine, but when I run it, it accepts input to the first prompt but then, after displaying the second prompt, skips over the call of cin.getline immediately to the next statement. Hmm is left empty. It seems, however, to work if the cin.getline call is first.
apstring String //String class that I gotta use
cout << "Prompt - ";
cin >> String;
cout << "\nPrompt -";