C-installation

 

C - Environment Setup

There is two way to setup the C environment :
1. Turbo C
2.Visual studio code

Note:-If you are a beginner in C language so use 1. Turbo C otherwise we recommended to use 2.Visual studio code for a better environment.



1. Turbo C

There are many compilers available for c and c++. You need to download anyone. Here, we are going to use Turbo C++. It will work for both C and C++. To install the Turbo C software, you need to follow the following steps.

➟Download and install Turbo C++ software

Step 1.> Download turbo c++ fromπŸ‘‰ click here Turbo.C.3.2.zipπŸ‘ˆ
Step 2.> After downloaded Turbo.C.3.2.zip file just unzip/extract it.
Step 3.> Double click on setup.exe.
Step 4.> Click on next


Step 5.> Click on install


Step 6.> click on Finish



Step 7.> Now open the Turbo c from Desktop

Step 8.> Now click on File, Then New


Finished turbo C installation.



2.Visual studio code


➟Download and install VS code software

Step 1.> Download visual studio code fromπŸ‘‰ click here To Download VS code πŸ‘ˆ


Step 2.> Now go to  the file where you download and double click on
              VSCodeUserSetup.exe.

Step 3.>Click on next


Step 3.>Click on next

Step 4.>Click on next



Step 5.>Tick on, create a Desktop Icon and Click on next

Step 6.>Click on Install


Step 7.>Click on Finish



Note:- Visual studio code needs a compiler to compile and run C/C++ files.

MingW (compiler) download and installation.

Step 1.>πŸ‘‰ Click here πŸ‘ˆ to begin downloading the MingW compiler.


Step 2.> Now go to  the file where you download and double click on
              Mingw Setup.exe.

Step 3.> Click on next


Step 4.> Click on next

Step 5.> Click on next

Step 6.> Click on Finish

Step 7.> Copy the path were MinGW installed. 

By default it installed this path --> C:\Program Files (x86)

Step 7.> Goto MinGW, then goto i686-8.1.0-posix-dwarf-rt_v6-rev0, then goto mingw32, then go to bin folder and copy this folder πŸ“‚ path.

Step 8.> Press windows key +R and type "sysdm.cpl" and press Enter.
Step 9.> Goto Advance and goto Environment Variables.
Step 10.> Click on the path and edit it.
Step 11.> Add new and paste which you copied in step 7 and click ok on every opened window.

Now you can compile and run c/c++ program.

No comments:

Post a Comment

Please don't comment any spam link in comment.