Hi, I have 361 two double integers stored as a list in a .txt file. When i run the programme the first double integer joins the second double integer on the same line which I don't want. Anyone know how to fix this?
For correctness, endl is actually a function taking a single argument that is inserted into a stream, but you'll learn about that as you get more experience with C++.
The cout stream and the endl function are both found in <iotream> within the std namespace, so they would correctly be called std::cout and std::endl.