Program is not displaying output correctly
- by Dave Lee
My program is suppose to display information from a text file.
The text file is here http://pastebin.com/qB6nX2x4
I cant find the problem in my program. I think it has to deal with the looping but im not sure. My program runs correctly but only displays the first line of text.
Any help would be appreciated.
#include <iostream>
#include…