SlideShare una empresa de 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

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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
 

Destacado

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
 

Destacado (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
 
Електронна търговия, развитие в България
Електронна търговия, развитие в БългарияЕлектронна търговия, развитие в България
Електронна търговия, развитие в България
 

Similar 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
 

Similar 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

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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 TerraformAndrey Devyatkin
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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 CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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...Drew Madelung
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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