ERRORS AFTER INSTALATION OF VS CODE There are some most common errors that you can face after the installation of visual studio code. This errors are very easy to solve so let's know what are all those errors and how do we will remove that errors. 1. UNABLE TO DETECT COMPILER The reason of this error is that vs code is an IDE (Integrated Development Environment) and MinGW is a compiler which we had downloaded from different website that's why our IDE is unable to detect MinGW. So to check whether our IDE detects compiler or not just open Powershell or CMD in your computer and type gcc (to check gcc compiler) or g++ (to check compiler for c++). If show error that gcc or g++ not recognized as shown below then it means we have to set path our compiler. So in order to do that first of all copy the path of your gcc/g++ compiler just find the MinGW file locatio...
Getting start with C++
- Get link
- X
- Other Apps
Introduction to C++
C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory.
C++ is still important in game programming and embedded device programming because in C++ you can: Write programs that are very efficient in memory usage - no managed object overhead and no garbage collection pauses. Write programs that are very efficient in CPU usage - this language is very close to the hardware.
C++ is the most powerful language in the world, therefore, there is no better investment of time and effort than learning C++. With C++ you can program anything.
Installing visual studio ,G++ and more
Hello Guys, before we start learning C++, we need to download and install vs code. yes, here we will code our C++ language in visual studio. It is so simple to complete all the installation process just by following the steps below.
step1 :- Downloading of MinGW
Before installing VS code we have to download MinGW it is an open source software created by microsoft
click here to download MinGW
step 2 :- installing MinGW
open mingw-get-setup.exe>install>continue
After completely installation of MinGW click mingw32-base-bin and mingw32-gcc-g++-bin and mark it for installation then click on installation> Apply Changes> install
After successfully installation close MinGW
step 3 :- Now we will download Visual Studio Code
step 4 :- installing visual studio
accept all the agreements then click on next and click all the boxes and click on next and install
Setting up C++ in Visual Studio Code
Now we are ready to set up C++ in Visual Studio Code, for this first open VS Code and click on Extensions or (Ctrl+Shift+X) then search for C/C++ and install it.
We had installed C++ in our Visual Studio Code now we need to install Code Runner.
Now we are ready to code our C++ language.Hope you guys learn a lot from this article.If you have any doubt please do comment and if you want to learn C++ in easy way join us, keep visiting our blog here you will get all the things regarding C++. Subscribe our site to learn C++ in fast and easy way. THANK YOU
Comments
Post a Comment