SlideShare a Scribd company logo
1 of 19
C
1.
2.


3.       C
4.           C
5.   C
6.               C
3

   1.         (Input Data)
   2.                   (Data
Processing)
   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
      *
             ENVIRONMENT DIVISION
      *
             DATA DIVISION.
      *
             PROCEDURE DIVISION.
             Paral.

                   DISPLAY “Hello, world”.
      *
            Stop Run
OOP)
2.4                         PASCAL)




                Turbo Pascal)
  HelloWorld(output);
  Begin
         Writeln(„Hello, World!)
  End.
2.5                C
                       Unix)

  #include “stdio.h”
  Int main(void)
  {
      printf(“Hello, worldn”);
      return 0;
  }
2.6                               C++)

            Class
  #include <iostream>
  Int main()
  {
      std::cout << “Hello world!” << std::endl;
      return 0;
  }
2.7   VISUAL BASIC)
2.8                      JAVA)


         ByteCode)
  //Hello.java
  Public class Hello {
     Public static void main(String[] args) {
       System.out.println(“Hello,world!”);
    }
  }
C
1.




2.

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

More Related Content

What's hot (10)

Java 8 briefing
Java 8 briefingJava 8 briefing
Java 8 briefing
 
Node day 2014
Node day 2014Node day 2014
Node day 2014
 
Central Iowa Linux Users Group October Meeting: Centos 8
Central Iowa Linux Users Group October Meeting: Centos 8Central Iowa Linux Users Group October Meeting: Centos 8
Central Iowa Linux Users Group October Meeting: Centos 8
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tlt
 
Drupal and Open shift (and php)
Drupal and Open shift (and php)Drupal and Open shift (and php)
Drupal and Open shift (and php)
 
Devinsampa nginx-scripting
Devinsampa nginx-scriptingDevinsampa nginx-scripting
Devinsampa nginx-scripting
 
A tale of two(many) proxies
A tale of two(many) proxiesA tale of two(many) proxies
A tale of two(many) proxies
 
nouka inventry manager
nouka inventry managernouka inventry manager
nouka inventry manager
 
Mastering JUNOS JUNOS CLI Modes
Mastering JUNOS JUNOS CLI ModesMastering JUNOS JUNOS CLI Modes
Mastering JUNOS JUNOS CLI Modes
 
GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17
 

Viewers also liked

การเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา Cการเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา C
C Omputer R Oom
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซี
choco336
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซี
choco336
 
การเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา Cการเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา C
C Omputer R Oom
 
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศแบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
Piyanoot Ch
 
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
kruood
 
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศการแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
Kru.Mam Charoensansuay
 

Viewers also liked (9)

การเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา Cการเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา C
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซี
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซี
 
01 คำสั่งแสดงผล ในภาษาซี
01 คำสั่งแสดงผล ในภาษาซี01 คำสั่งแสดงผล ในภาษาซี
01 คำสั่งแสดงผล ในภาษาซี
 
Ba ch01 grammar
Ba ch01 grammarBa ch01 grammar
Ba ch01 grammar
 
การเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา Cการเขียนโปรแกรมด้วยภาษา C
การเขียนโปรแกรมด้วยภาษา C
 
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศแบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
แบบทดสอบเรื่อง การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
 
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
กระบวนการแก้ปัญหาด้วยคอมพิวเตอร์
 
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศการแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
การแก้ปัญหาด้วยกระบวนการเทคโนโลยีสารสนเทศ
 

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

Java Bytecode for Discriminating Developers - JavaZone 2011
Java Bytecode for Discriminating Developers - JavaZone 2011Java Bytecode for Discriminating Developers - JavaZone 2011
Java Bytecode for Discriminating Developers - JavaZone 2011
Anton Arhipov
 
Tema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdfTema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdf
pepe464163
 
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Yandex
 

Similar to การเขียนโปรแกรมด้วยภาษา C (20)

Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
 
2
22
2
 
An intro to programming
An intro to programmingAn intro to programming
An intro to programming
 
Origins of Elixir programming language
Origins of Elixir programming languageOrigins of Elixir programming language
Origins of Elixir programming language
 
How to build the Web
How to build the WebHow to build the Web
How to build the Web
 
Fp201 unit2 1
Fp201 unit2 1Fp201 unit2 1
Fp201 unit2 1
 
LISA QooxdooTutorial Slides
LISA QooxdooTutorial SlidesLISA QooxdooTutorial Slides
LISA QooxdooTutorial Slides
 
OSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with GoOSCON2014 : Quick Introduction to System Tools Programming with Go
OSCON2014 : Quick Introduction to System Tools Programming with Go
 
LISA Qooxdoo Tutorial Handouts
LISA Qooxdoo Tutorial HandoutsLISA Qooxdoo Tutorial Handouts
LISA Qooxdoo Tutorial Handouts
 
Hardware Open Source
Hardware Open SourceHardware Open Source
Hardware Open Source
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Kotlin / Android Update
Kotlin / Android UpdateKotlin / Android Update
Kotlin / Android Update
 
Java Bytecode for Discriminating Developers - JavaZone 2011
Java Bytecode for Discriminating Developers - JavaZone 2011Java Bytecode for Discriminating Developers - JavaZone 2011
Java Bytecode for Discriminating Developers - JavaZone 2011
 
ToyoTech_LT : C#.NET
ToyoTech_LT : C#.NETToyoTech_LT : C#.NET
ToyoTech_LT : C#.NET
 
Go for Rubyists
Go for RubyistsGo for Rubyists
Go for Rubyists
 
C Language Unit-1
C Language Unit-1C Language Unit-1
C Language Unit-1
 
Tema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdfTema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdf
 
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
 
Unity3D Programming
Unity3D ProgrammingUnity3D Programming
Unity3D Programming
 
Genode Compositions
Genode CompositionsGenode Compositions
Genode Compositions
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

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

  • 1. C
  • 2. 1. 2. 3. C 4. C 5. C 6. C
  • 3. 3 1. (Input Data) 2. (Data Processing) 3. (Output Data)
  • 5. 1. 0” 1” (Machine Language
  • 6. 5 1) Machine Language) 2) Assembly Language) (Mnemonic Code)
  • 7. 4) (Very high-level Language) 5) (Natural Language)
  • 8. 2. 2.1 BASIC) 10 PRINT “HELLO WORLD” 20 GOTO 10
  • 9. 2.2 FORTRAN) Program HelloWorld write (*,*) „Hello, world!‟ End program HelloWorld
  • 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. OOP)
  • 12. 2.4 PASCAL) Turbo Pascal) HelloWorld(output); Begin Writeln(„Hello, World!) End.
  • 13. 2.5 C Unix) #include “stdio.h” Int main(void) { printf(“Hello, worldn”); return 0; }
  • 14. 2.6 C++) Class #include <iostream> Int main() { std::cout << “Hello world!” << std::endl; return 0; }
  • 15. 2.7 VISUAL BASIC)
  • 16. 2.8 JAVA) ByteCode) //Hello.java Public class Hello { Public static void main(String[] args) { System.out.println(“Hello,world!”); } }