I am not able to get the input from input.txt file

I wanted to ask that how can I take the input from input.txt file in powershell . Please write the desired commands for it.

you can take input form input.txt and output in output.txt using the following snippet


make sure that input.txt and output.txt is under the same folder as main.cpp

1 Like

ok got it thanks for a quick reply