Learnerslesson
   JAVA   
  SPRING  
  SPRINGBOOT  
 HIBERNATE 
  HADOOP  
   HIVE   
   ALGORITHMS   
   PYTHON   
   GO   
   KOTLIN   
   C#   
   RUBY   
   C++   




C++ - INSTALLATION


The best and easiest way to run C++ Programms is to use an IDE.

  1. You can download Visual Studio Code from the below link :

    https://code.visualstudio.com/download
    c-plus-Installation1

    c-plus-Installation2

    c-plus-Installation3

  2. Once Visual Studio Code is downloaded and installed, now it's time to Download and install a C++ compiler


  3. And MinGW provides a development environment. You cann download it from the below link


    https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/
    c-plus-Installation4

    c-plus-Installation5

    c-plus-Installation6

    c-plus-Installation7

  4. Once MinGW is installed. The 'MinGW Installation Manager' screen shows up. In the 'MinGW Installation Manager' window, click on mingw32-gcc-g++ then select 'Mark for Installation'.


    c-plus-Installation8
  5. In the top left corner, click on Installation -> Apply Changes


    c-plus-Installation9

    c-plus-Installation10

    c-plus-Installation11

  6. After you have installed MinGW, ypu can find it in C:\MinGW\bin. Then you need to add it to your environmental variable path.


  7. Now you can open 'Visual Studio Code' and go to extensions.


    c-plus-Installation12

  8. Then you can select 'C/C++' extension. And click on 'install' to install the extension.


    c-plus-Installation13

  9. Now open command prompt and create a folder called CPlusPlus in any of your drive.


    c-plus-Installation14

  10. Now type 'code .' and that will open VS Code in the current folder(i.e. CPlusPlus)


    c-plus-Installation15

  11. And VS Code is opened and the folder CPlusPlus becomes your 'workspace'


  12. Then you create a file named 'helloworld.cpp' under the CPlusPlus folder. And type the below code.


    c-plus-Installation16

  13. And you are all set.