How do I set up Visual Studio Code to compile C++ code?
There is a much easier way to compile and run C++ code, no configuration needed: Install the Code Runner Extension Open your C++ code file in Text Editor, then use shortcut Ctrl+Alt+N, or press F1 and then select/type Run Code, or right click the Text Editor and then click Run Code in context menu, the … Read more