yap, i solved something like this... but my idea was to enter the name of the file and then it prints on the screen everything what is in the text document :)
i want to do something like this press 1 to read form a file (this will be solved with switch)
and then cout<<"enter the file name..." and the prints on the screen... and I still don't know how to solve the problem :)