How to compile and run a C++ program with input from input.txt and output to output.txt in VSCode?
I’m using Visual Studio Code (VSCode) to work on a C++ project and I want to automate the process of compiling my C++ code and running it with input redirected from a file (input.txt) and the output saved to another file (output.txt).
How to compile and run a C++ program with input from input.txt and output to output.txt in VSCode?
I’m using Visual Studio Code (VSCode) to work on a C++ project and I want to automate the process of compiling my C++ code and running it with input redirected from a file (input.txt) and the output saved to another file (output.txt).