P
P
Proshka172019-03-26 12:42:20
C++ / C#
Proshka17, 2019-03-26 12:42:20

Is CodeRunner in VS Code throwing an error?

Good afternoon. Installed VS Code and tried to run simple c++ with code runner but got bugs in response.
5c99fb0d05cef567118757.png
How to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
tsarevfs, 2019-03-26
@tsarevfs

VS code is a smart text editor. It can only run third-party programs to build your code, not build it itself. It is possible to do this, but it is difficult. In your case it is trying to run python which is a different programming language.
The easiest way for Win is to use the Visual Studio Community.

R
res2001, 2019-03-26
@res2001

Since the output is full of gibberish, we can only assume that it was not possible to find g++ at startup.
Run the same commands from the command line or set the output encoding in VS Code to cp866 - the default code page on the Russian Windows command line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question