sir when i run my program of handling_multiple_inputs.exe and take the input from the input file input_file.txt then it always shows some error in windows powershell screen.
Handling multiple inputs
please try running the commands in command prompt.
you can also use this in your code in the main function. and just do ./handlnginput
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w",stdout);
#endif
@abhinandankainth1999 SIR I did not get this. it is not working. i wrote the correct code and my syntax is correct but still i do not know why is it not working??
powershell is not accepting ‘<’ operator, There is a issue with powershell, you can try with command prompt.
1 Like
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

