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?
cin.clear(); clears any error bits on the stream - it does not consume any data that may be pending.
cin.clear();
You want to use cin.ignore() to consume data from the stream.
cin.ignore()