Hello,
In the Linux terminal I can do something like *.exe < *.txt and the program will run and read in strings from the text document as opposed to manually typing them. How do I do this in the Windows command prompt?
Also, what's the best way to read in the text one line at a time? Would getline(cin,<string>) work?
EDIT: Okay never mind about the first part I was just typing it in incorrectly.