H
H
holmespixel2016-06-13 15:24:45
C++ / C#
holmespixel, 2016-06-13 15:24:45

How to run c++ project in visual studio code?

How to run c++ code in visual studio code editor. Here is a simple example where you need to print the result to the console . Haven't worked with c++ before, but I think you need a result like repl for node.js
print("any string ...")

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2016-06-13
@GavriKos

1) Написать нормальный код. С мейном, инклудами.
2) Подключить к VSCode нужный вам компилятор, компоновщик.
3) Скопилировать, слинковать, запустить.
Дальше будет классическая ошибка "консоль сразу закрывается" - гуглим "ожидание ввода".
А вообще - поставьте VS Community и не парьтесь.

A
Alexander Yachmenev, 2018-08-05
@yalexaner

2 years have passed, and I think that the author of the question has already found a solution to this problem, but for those who wandered here for a solution, I will leave a link to an article that should help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question