Ok I'm making a program in c++ and I'm getting stuck on one part.
cout << "Title: ";
getline(cin, title);
cout << endl << "Price:";
cin >> price;
It shows both of the cout at the same time and then it only takes the cin for price. Can anyone help me out with this?