C++ has been a very popular language since the modern era starts. C++ provides object-oriented support which makes it a reusable language. And to run the C++ program on your system you need to install a compiler of C++ to run your C++ Examples without any interrupts.
So let's see how you can install a compiler on your system and your very first program on it. or on any other IDE or Text editor like VS Code, notepad, sublime editor,vin, etc.
Steps to install MinGW
- Download the latest version of the MinGW compiler from the following link and install MinGW.exe
- link: https://sourceforge.net/projects/mingw/
- Now install GCC-core and GCC-g++ which are the compiling libraries, you can install any one of them.
- Set your PATH environment variable so that you can compiler your program directly from the command line prompt.
- Go to your installation folder and copy the path example: C:\MinGW\bin folder
- Add system environment variable of C++ press Windows and search for System environment variables,
- Oper command prompt as administrator
- enter gcc and press enter button
- If you followed these steps correctly you will get responses such as gcc: no input files in command prompt
- If you gate this response, you are ready to experiment with the C++ Programming language
OR
Simply download AddoxBobx and continue to code.