C programming slide c01

1,638 views
1,506 views

Published on

Published in: Education
2 Comments
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,638
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
50
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

C programming slide c01

  1. 1. Prepared by:-<br />PRADEEP DWIVEDI (pur. B.TECH-IT)<br />FROM-<br />HINDUSTAN COLLEGE OF SCIENCE &TECHNOLOGY<br />Mob-+919027843806<br />E-mail-pradeep.it74@gmail.com<br />C PROGRAMMING SLIDE-1<br />Monday, August 30, 2010<br />1<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />
  2. 2. TOPIC<br />Monday, August 30, 2010<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />2<br />GENERATION OF COMPUTER LANGUAGE.<br />HISTORY OF C PROGRAMMING LANGUAGE.<br />IDE<br />HOW TO COMPILE AND RUN OUR PROGRAM.<br />SHOT-CUT KEYS<br />
  3. 3. GENERATION OF COMPUTER LANGUAGE<br />1st GENERATION LANGUAGE :-<br />MACHINE LANGUAGE-(0,1)<br />2nd GENERATION LANGUAGE:-<br />ASSEMBLY LANGUAGE<br />ASSEMBLER IS A SOFTWARE THAT CONVERT THE ASSEMBLY LANGUAGE INTO THE MACHINE LANGUAGE.<br />3rd GENERATION LANGUAGE:-<br />PROCEDURAL LANGUAGE.(HOW AND WHAT)<br />C,C++.<br />4rth GENERATION LANGUAGE:-<br />NON PROCEDURAL LANGUAGE.<br />Eg. SQL, MS SQL SERVER, IBM-DB2,ORACLE-PL SQL<br />Monday, August 30, 2010<br />3<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />
  4. 4. HISTORY OF PROGRAMMING LANGUAGE<br />1960 INTERNATIONAL GROUP<br />1967 MARTIN RICHARDS<br />1970 KEN THOMSON<br />1972 DENNIS RITCHE<br />1978 KERINGHAN & RITCHE<br />1989 ANSI COMMITTEE<br />1990 ISO COMMITTEE<br />1999 STANDARDIZATION COMMITTEE<br />ALGOL <br />BCPL<br />B<br />TRADITIONAL C<br />K&R C<br />ANSI C<br />ANSI/ISO C<br />C99<br />Monday, August 30, 2010<br />4<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />
  5. 5. HISTORY OF C PROGRAMMING(cont)<br />C PROGRAMMING LANGUAGE DEVELOPED BY DENISS RITCHE IN 1972.<br />Monday, August 30, 2010<br />5<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />DENISS RITCHE<br />
  6. 6. HISTORY OF C PROGRAMMING(CONT)<br />IT WAS DEVELOPED IN BELL LABORATORY.<br />Monday, August 30, 2010<br />6<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />BELL LABORATORY<br />
  7. 7. IDE<br />Monday, August 30, 2010<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />7<br />IDE:-integrated development environment. (blue screen)<br />RUN- c: cin c.exe<br />Consol:-output screen(black screen)<br />
  8. 8. COMPILE & RUN<br />inWINDOWS XP/VISITA/07/<br />Open turbo C/turbo C++ software.<br />Type program<br />Save program with .c extension.<br />For compiling- ALT+F9<br />For execute(run)- CTRL+F9.<br />Monday, August 30, 2010<br />8<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />
  9. 9. COMPILE & RUN<br />In LINUX <br />Open the open terminal or konsol screen.<br />Type vi filename.c(eg. Vi hello.c)<br />Press enter and then press I (for insert mode).<br />Type your program and then press esc for (command mode)<br />For save the program type :wq<br />For compile type gccfilename.c(eg. gcchello.c)<br />For run type ./a.out<br />Monday, August 30, 2010<br />9<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />
  10. 10. SHOT-CUT KEYS<br />Monday, August 30, 2010<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />10<br />
  11. 11. THANKS<br />Monday, August 30, 2010<br />11<br />PRADEEP DWIVEDI(pur. B.TECH-IT)<br />

×