How to run c and c++ Programs on Vs code ?

Аватар автора
JavaScript и Dart
In this video, I have shown how you can install gcc and g++ compilers to run C and C++ program from Visual Studio Code. Note: Install Code Runner extension on your visual studio code to get the option for running your code. And also install c/c++ extension if it still shows any error. Install GCC The following linux command will install gcc compiler on on Ubuntu 18.04 Bionic Beaver. Open up terminal and enter: $ sudo apt install g++ Install build-essential Another way to install g++ compiler is to install it as part of build-essential package. Additionally the build-essential package will also install additional libraries as well as gcc compiler. In most cases or if unsure this is exactly what you need: $ sudo apt install build-essential Email me for any business purposes. #c++#linux

0/0


0/0

0/0

0/0