I am just in a basic C++ class in high school. I am assigned to a project [ Its really simple, but i am having problems with getline] I am suppose to make a program in which, the all data is entered into one line, and i need to use the getline function to take that data, and assign it to different variables. so for example: [I need to enter sales, all 3 sales in one line] Lets say these are the sales : 1) sale1 = 23 2) sale2 = 56 3) sale3 = 25 I need to enter those 3 numbers into one line, but assign those numbers to different variables. So In the program, its like cout << "Enter the sales: " [ and i enter 23 56 25 all in one line] then i need to use the getline function to assign those sales to variables sale1 sale2 and sale3 Can someone please help me out? I am just really a beginner in c++, and i don't understand complicated terminology. Thank you!