Getting started with C++ -online judge: input and output files

As explained in the video , we could also give input to our programme through txt file , But it isn’t happening . I’ve tried giving command ./xyz.exe < ipfile.txt but the terminal is producing error.

@Maazkhan,
Please share a screenshot of the executed command with error.

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.

1 Like