Command prompt instructions

if i want to get input file in windows os then what are the commands in command prompt to link my cpp file to that txt file ?

@Raghavsingla522,
a.exe < input.txt > output.txt
which means Execute a.exe with input from input.txt and print output in output.txt

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.