C
1.2.3.       C4.           C5.   C6.               C
3   1.         (Input Data)   2.                   (DataProcessing)   3.         (Output Data)
----
1.     0”     1”     (Machine Language
5 1)           Machine Language) 2)               Assembly Language)(Mnemonic Code)
4)             (Very high-level Language)5)           (Natural Language)
2.     2.1            BASIC)           10 PRINT “HELLO WORLD”           20 GOTO 10
2.2                       FORTRAN)      Program HelloWorld           write (*,*) „Hello, world!‟      End program HelloWorld
2.3                    COBOL)      Structure Program)      IDENTIFICATION DIVISION.             Program-Id. Hello-World   ...
OOP)
2.4                         PASCAL)                Turbo Pascal)  HelloWorld(output);  Begin         Writeln(„Hello, World...
2.5                C                       Unix)  #include “stdio.h”  Int main(void)  {      printf(“Hello, worldn”);     ...
2.6                               C++)            Class  #include <iostream>  Int main()  {      std::cout << “Hello world...
2.7   VISUAL BASIC)
2.8                      JAVA)         ByteCode)  //Hello.java  Public class Hello {     Public static void main(String[] ...
C1.2.3.
การเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา C
Upcoming SlideShare
Loading in...5
×

การเขียนโปรแกรมด้วยภาษา C

368

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
368
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

การเขียนโปรแกรมด้วยภาษา C

  1. 1. C
  2. 2. 1.2.3. C4. C5. C6. C
  3. 3. 3 1. (Input Data) 2. (DataProcessing) 3. (Output Data)
  4. 4. ----
  5. 5. 1. 0” 1” (Machine Language
  6. 6. 5 1) Machine Language) 2) Assembly Language)(Mnemonic Code)
  7. 7. 4) (Very high-level Language)5) (Natural Language)
  8. 8. 2. 2.1 BASIC) 10 PRINT “HELLO WORLD” 20 GOTO 10
  9. 9. 2.2 FORTRAN) Program HelloWorld write (*,*) „Hello, world!‟ End program HelloWorld
  10. 10. 2.3 COBOL) Structure Program) IDENTIFICATION DIVISION. Program-Id. Hello-World * ENVIRONMENT DIVISION * DATA DIVISION. * PROCEDURE DIVISION. Paral. DISPLAY “Hello, world”. * Stop Run
  11. 11. OOP)
  12. 12. 2.4 PASCAL) Turbo Pascal) HelloWorld(output); Begin Writeln(„Hello, World!) End.
  13. 13. 2.5 C Unix) #include “stdio.h” Int main(void) { printf(“Hello, worldn”); return 0; }
  14. 14. 2.6 C++) Class #include <iostream> Int main() { std::cout << “Hello world!” << std::endl; return 0; }
  15. 15. 2.7 VISUAL BASIC)
  16. 16. 2.8 JAVA) ByteCode) //Hello.java Public class Hello { Public static void main(String[] args) { System.out.println(“Hello,world!”); } }
  17. 17. C1.2.3.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×