So I have a function that keeps skipping over the first getline and straight to the second one. I tried to clear the buffer but still no luck, what\'s going on?
use cin.ignore(-1);It will not remove the first character of the input string
cin.ignore(-1);