Hello,
i would like to read the content of a text file data.txt (line by line ) directly from the command line using this command:
a.exe < data.txt.
What could be the c++ code to read/get the content of these lines (without using ifstream). The treatment of the lines is not a problem for me but i really don't know how to access the content of the file from the c++ code
thank you very much for your help.