SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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 8Andrew Denner
 
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-11tltlaonap166
 
Drupal and Open shift (and php)
Drupal and Open shift (and php)Drupal and Open shift (and php)
Drupal and Open shift (and php)Phase2
 
Devinsampa nginx-scripting
Devinsampa nginx-scriptingDevinsampa nginx-scripting
Devinsampa nginx-scriptingTony Fabeen
 
A tale of two(many) proxies
A tale of two(many) proxiesA tale of two(many) proxies
A tale of two(many) proxiesMohan Dutt
 
nouka inventry manager
nouka inventry managernouka inventry manager
nouka inventry managerToshiaki Baba
 
Mastering JUNOS JUNOS CLI Modes
Mastering JUNOS JUNOS CLI ModesMastering JUNOS JUNOS CLI Modes
Mastering JUNOS JUNOS CLI ModesZenSekibe
 
GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17siva ram
 

Mais procurados (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
 

Destaque

Zero Marketing - Маркетиране на стартъп с нулев бюджет
Zero Marketing - Маркетиране на стартъп с нулев бюджетZero Marketing - Маркетиране на стартъп с нулев бюджет
Zero Marketing - Маркетиране на стартъп с нулев бюджетChris Georgiev
 
cit company_overview_ita
cit company_overview_itacit company_overview_ita
cit company_overview_itatommy62dm
 
Twitter 101 - как да използваме Туитър
Twitter 101 - как да използваме ТуитърTwitter 101 - как да използваме Туитър
Twitter 101 - как да използваме ТуитърChris Georgiev
 
Startup Weekend Sofia - Orientation
Startup Weekend Sofia - OrientationStartup Weekend Sofia - Orientation
Startup Weekend Sofia - OrientationChris Georgiev
 
How To Do Mobile For The Tourist Industry
How To Do Mobile For The Tourist IndustryHow To Do Mobile For The Tourist Industry
How To Do Mobile For The Tourist IndustryChris Georgiev
 
Електронна търговия, развитие в България
Електронна търговия, развитие в БългарияЕлектронна търговия, развитие в България
Електронна търговия, развитие в БългарияChris Georgiev
 

Destaque (7)

Diapositiva de prueba otura
Diapositiva de prueba oturaDiapositiva de prueba otura
Diapositiva de prueba otura
 
Zero Marketing - Маркетиране на стартъп с нулев бюджет
Zero Marketing - Маркетиране на стартъп с нулев бюджетZero Marketing - Маркетиране на стартъп с нулев бюджет
Zero Marketing - Маркетиране на стартъп с нулев бюджет
 
cit company_overview_ita
cit company_overview_itacit company_overview_ita
cit company_overview_ita
 
Twitter 101 - как да използваме Туитър
Twitter 101 - как да използваме ТуитърTwitter 101 - как да използваме Туитър
Twitter 101 - как да използваме Туитър
 
Startup Weekend Sofia - Orientation
Startup Weekend Sofia - OrientationStartup Weekend Sofia - Orientation
Startup Weekend Sofia - Orientation
 
How To Do Mobile For The Tourist Industry
How To Do Mobile For The Tourist IndustryHow To Do Mobile For The Tourist Industry
How To Do Mobile For The Tourist Industry
 
Електронна търговия, развитие в България
Електронна търговия, развитие в БългарияЕлектронна търговия, развитие в България
Електронна търговия, развитие в България
 

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

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)Giovanni Bechis
 
An intro to programming
An intro to programmingAn intro to programming
An intro to programmingWolfFlight
 
Origins of Elixir programming language
Origins of Elixir programming languageOrigins of Elixir programming language
Origins of Elixir programming languagePivorak MeetUp
 
LISA QooxdooTutorial Slides
LISA QooxdooTutorial SlidesLISA QooxdooTutorial Slides
LISA QooxdooTutorial SlidesTobias Oetiker
 
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 GoChris McEniry
 
LISA Qooxdoo Tutorial Handouts
LISA Qooxdoo Tutorial HandoutsLISA Qooxdoo Tutorial Handouts
LISA Qooxdoo Tutorial HandoutsTobias Oetiker
 
Hardware Open Source
Hardware Open SourceHardware Open Source
Hardware Open SourceTiago Maluta
 
Kotlin / Android Update
Kotlin / Android UpdateKotlin / Android Update
Kotlin / Android UpdateGarth Gilmour
 
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 2011Anton Arhipov
 
Tema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdfTema3_Introduction_to_CUDA_C.pdf
Tema3_Introduction_to_CUDA_C.pdfpepe464163
 
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...
Разработка кросс-платформенного кода между iPhone &lt; -> Windows с помощью o...Yandex
 

Semelhante a การเขียนโปรแกรมด้วยภาษา 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
 

Último

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Último (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

การเขียนโปรแกรมด้วยภาษา 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!”); } }