Articles

Setting up Environment for coding in C++(Windows)

Share

There are two ways, one to setup the environment for coding in C++:

  1. Using IDE to code and execute.
  2. Setting up the environment of the computer and code in any word editor.

Using IDE:

This is probably the best way if you are a beginner you just have to download and install the simple setup. There are many IDE’s but the two famous are:

  1. CodeBlocks
  2. TurboC++

These are the links by which you can download the latest versions of IDE and they also come with the easy installation process. If you have any problem with the installation of the given above then let me know in the below comment section.

GNU compiler to the system’s path:

If you don’t like to code like all other’s or want to code in any text editor like Notepad, Notepad++ or Sublime text (personally my favorite).

  1. For this, we have to install a text editor or edit the text using notepad only.
  2. Then we have to download and install G++ (GNU compiler for C and C++ language).(click here to download)
  3. Now we have to set the path I will provide you with the Screenshots (for windows) for viewers ease.

Screenshots:

  1. Download Full.exe.
  2. Install full.exe.
  3. Install and Set Path where you want to save.
  4. Locate bin and copy the path.
  5. Goto system properties and Add path variable.

The Following are the steps of downloading and installing C++ compiler to your System and setting up the path variables. In the next lesson we will show you the demo of running a code by both methods i.e., IDE and Text editor.

This post was last modified on July 4, 2022

Sandeep Verma

Published by
Sandeep Verma
Tags: C install turboc++