C programming language - compilation and execution
You have a set of instructions written in C (human-readable) language. You want to execute it.
- To write the instructions, we need another program -> editor
- To execute this program, we need to translate our instructions into the machine-readable language (0s' and 1s')
- For this, we need another program -> Compiler
- The compiler will create a `.exe` file from our program's file after compiling the code.
- 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
Post a Comment