I just started with c++ and now I need some help, I would like a simple script to read from a .txt and out the lines if my txt looks like this
apple
bannana
peach
...
...
put it in a loop and then out the lines
something like that.Code:read("help.txt");
while( doc is not at end )
{
string zin;
zin = get the next line
cout << zin
}