turboc++ – Programmerbay https://programmerbay.com A Tech Bay for Tech Savvy Mon, 04 Jul 2022 06:28:47 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://programmerbay.com/wp-content/uploads/2019/09/cropped-without-transparent-32x32.jpg turboc++ – Programmerbay https://programmerbay.com 32 32 Setting up Environment for coding in C++(Windows) https://programmerbay.com/setting-up-environment-for-coding-in-cwindows/ https://programmerbay.com/setting-up-environment-for-coding-in-cwindows/#respond Sat, 14 Sep 2019 16:39:30 +0000 https://programmerbay.com/?p=5088 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.

]]>
https://programmerbay.com/setting-up-environment-for-coding-in-cwindows/feed/ 0