C programming language - compilation and execution

 You have a set of instructions written in C (human-readable) language. You want to execute it.

  1. To write the instructions, we need another program -> editor 
  2. To execute this program, we need to translate our instructions into the machine-readable language (0s' and 1s')
  3. For this, we need another program -> Compiler
  4. The compiler will create a `.exe` file from our program's file after compiling the code.
  5. This `.exe` file can be run on another machine without having the need to recompile our code.
Turbo C and Turbo C++ are the vendors that provide editing and compilation on C code.
gcc is for compiling code in Linux. gdb is a debugger.
Instructions on installing these and using them are here -

Comments

Popular Posts