April 11, 2014

How to install C in Windows for free?


There are three components  needed to start programming using C language. They are Editor, Compiler and Interpreter
  1. Editor – Download and install the latest copy of Notepad++
  2. Compiler - Download and install latest version of MinGW
  3. Interpreter – Use command prompt or power shell
Steps to start programming:
  • First type your C code in notepad++ and save it as someName.c 
     c1
  • With MinGW already installed and GCC ready to compile your program, it is time for your code to be converted into object code and then execution
  • Open cmd or powershell and go the directory where the c file is stored.
  • With the environment variable already set, use the command gcc someName.c -o someNamec2
  • Now just open the created exe file directly or using cmd. Voila!!! you got your first successful program runningc

No comments:

Post a Comment