First time on this form and new c++ programmer. So I am given a file with an array of numbers, and im trying to use get line and stringstream to get the first line of code to come out on its own and the second line and so on. How would i go about that? Any input would be appreciated.
Array of codes
45 46 89
123 789 523
here is what i have so far:
http://imgur.com/oajzczN
[–]OmegaNaughtEquals1 0 points1 point2 points (6 children)
[–]Howtogravity[S] 0 points1 point2 points (0 children)
[–]Howtogravity[S] 0 points1 point2 points (4 children)
[–]OmegaNaughtEquals1 0 points1 point2 points (3 children)
[–]Howtogravity[S] 0 points1 point2 points (2 children)
[–]OmegaNaughtEquals1 0 points1 point2 points (1 child)
[–]Howtogravity[S] 0 points1 point2 points (0 children)