Download
edmund hillary n.
Skip this Video
Loading SlideShow in 5 Seconds..
“Edmund Hillary” PowerPoint Presentation
Download Presentation
“Edmund Hillary”

“Edmund Hillary”

302 Views Download Presentation
Download Presentation

“Edmund Hillary”

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. “Edmund Hillary” IT IS NOT THE MOUNTAIN THAT WE CONQUER BUT OURSELVES

  2. Muhammad FirdausHarun www.firdaus-harun.com FSKSM, UTM Introduction to C Programming Language

  3. Agenda • Your Background in Programming Skill • What is a C Programming Language? • History • Characteristic • Program Structure

  4. Programming Skill

  5. History of C • developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories – UNIX • Derived from ‘B’ or BCPL language – 1971 • 1983 – ANSI C / ISO C • 1990 – C90 • 1999 – C99 • 2007 – C1x

  6. C Programming Languae • High Levels vs Low Levels • Compiler • Error (Syntax vs Logical)

  7. High Levels vs Low Levels

  8. High Levels vs Low Levels (Cont.)

  9. High Levels vs Low Levels (Cont.)

  10. Compiler

  11. Uses of C • System programming i.e. Operating System and Embedded Controller Microcontroller Supercomputer

  12. Program Structure • A C program basically has the following form: • Preprocessor Commands • Type definitions • Function prototypes -- declare function types and variables passed to function. • Variables • Functions

  13. Basic Idea About C • Program is written in the form of a number of text files using a screen editor. • source program • Completed source file is passed to a compiler - a program which generates a new file containing a machine code translation of the source text. • object file or executable file

  14. Hello World Sample Code #include <stdio.h> int main(void) { printf("hello, world\n"); return 0; }

  15. Tutorial Resource • Website : • http://www.cprogramming.com/tutorial/c • http://www.iu.hio.no/~mark/CTutorial/CTutorial.html • Youtube.com – type keyword ‘C Programming Language Tutorial’ • Announcement – http://c.firdaus-harun.com (defer)

  16. Next Topics • More details - Program Structure • Quick review – Programming Methodologies

  17. Schedule