Why I cant run a code in Visual Studio?

You simply need to change the line “externalConsole” and set it to “true” . And that’s basically it. After that you simply Run your program with (F5). Keep in mind that if you change something in your original code you need to run it with “Run Code”, (ctrl+alt+n) so that the uptades you do get saved and “compiled”.

Read more