Embedded C Course
Fady Mohammed Osman
C was created in 1973 by Ken Thompson and
Dennis Ritchie to program the unix os.
It was inherted from the b programming language
and that's why it's called c.
B itself was inherted from BCPL(basic combined
Procedural programming Language.
Generic programming language.
Intended to be system programming language.
It has lowlevel capabilities.
Used in windows kernel and linux kernel and
mac os kernel.
.h and .c files
.h or .hpp contains a prototype of functions.
.c or .cpp contains the actual code.
Process of building a program
Header .h or .hpp file
Source .c or .cpp file
Preprocessed code .i file
Assembly code fie .s file
Object file .o and libraries
Excutable file .exe or .app
or bin file
What is IDE??
Visual Studio (Windows only).
Eclipse (Windows,Linux, and mac).
Code::Blocks (Windows,linux, and mac).
Also there's a lot of IDE's out there feel free to