I have recently downloaded Visual Studio 2019 with the C/C++ extension. I have tried to implement a simple TripleX game. The program seems to be compiling and running fine until I ask for user input. As soon as I wrote
int PlayerGuess;
std::cin >> PlayerGuess;
std::cout << "You entered: " << PlayerGuess;
I am receiving the error message:
The system cannot execute the specified program.
I have unblocked VS Code from my firewall, I have also tried installing the c++ build tools within the VS Installer, however I am still receiving this message?