SlideShare une entreprise Scribd logo
1  sur  19
C

C


C
C

1

             standard functions)

1

                  mathematic functions)

1



                     2–5



    -8
Character functions)

8

         String functions)
8 - 10
C

                                                C



                                                                C



         Header file        C                               h




                       standard functions)

                                     C

header file        C                                h

                                                        header file

                          #include<header file.h>
C compiler




”          ” library functions)




                           mathematic functions)



                                          #include <math.

h>

          type)    double

                             double




acos(x)           asin(x)             atan(x)

sin(x)            cos(x)              tan(x)

sqrt(x)           exp(x)              pow(x,y)
log(x)                log10(x)      ceil(x)

floor(x)              fabs(x)

                acos(x)

                                      arc cosine

     x            x

                      radian)



    acos(x);

           2)             asin(x)

                                      arc sine

x          x




    asin(x);
3)              atan(x)

                                       arc tan

x           x




     atan(x);

                sin(x)

                                       sine      x

        x



      sin(x);

                         5)   cos(x)

                                       cosine        x

        x
cos(x);




6)          tan(x)

                              tan          x      x




     tan(x);

                                    acos(x), asin(x),

atan(x), sin(x),
cos(x)         tan(x)


      acos(x), asin(x), atan(x), sin(x),

cos(x)         tan(x)
*         math1.c           */

#include<stdio.h>

/*

#include<math.h>

/*

#include<conio.h>

/*

void main(void)

/*

{



     double r, pi = 3.141592654;

/*

     r = pi/180;

/*
clrscr();

/*

     printf("%fn",asin(r));

/*

     printf("%fn",acos(r));

/*

     printf("%fn",atan(r));

/*

     printf("%fn",sin(r));

/*

     printf("%fn",cos(r));

/*

     printf("%fn",tan(r));

/*

     printf("nPress any key back to program ..."); /*
getch();

/*

}
printf("%fn",asin(r));

  arc sin                 r       r




printf("%fn",acos(r));
  arc cosine                  r       r
printf("%fn",atan(r));

 arc tan                   r           r




printf("%fn",sin(r));

  sine                 r           r




printf("%fn",cos(r));
  cosine                   r           r




printf("%fn",tan(r));

 tan               r           r
enter




             sqrt(x)

                                     square root)

                          x      x




    sqrt(x);

        8)             exp(x)

                                ex    x

                                             e      e




    exp(x);
9)          pow(x,y)

                       xy



x




y



     pow(x, y);




                            character functions)

                                   single char

(            byte)


#include<ctype.h>




                                   isalnum(ch),
isalpha(ch), isdigit(ch), islower(ch), isupper(ch),

tolower(ch), toupper(ch),

isspace(ch), isxdigit(ch)

        1.3                       string functions)

                                    string)



#include<string.h>



                                  strlen(s), strcmp(s1,s2)

, strcpy(s), strcat(s1,s2)

        1.4

          clrscr( )

                                                      text

mode

          gotoxy(x,y)

cursor)
sizeof(x)

                                        x

Byte




                   user defined functions)




                                        C

           ”        ”


                                    ”        ”




          user define functions : UDF)



                                                 C
ภาษา C โปรแกรมย่อยและฟังก์ชันมาตรฐาน

Contenu connexe

Tendances

3 1. preprocessor, math, stdlib
3 1. preprocessor, math, stdlib3 1. preprocessor, math, stdlib
3 1. preprocessor, math, stdlib웅식 전
 
Free Monads Getting Started
Free Monads Getting StartedFree Monads Getting Started
Free Monads Getting StartedKent Ohashi
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1Little Tukta Lita
 
เมธอด ชั้น ม 6 ห้อง 2
เมธอด ชั้น ม  6 ห้อง 2เมธอด ชั้น ม  6 ห้อง 2
เมธอด ชั้น ม 6 ห้อง 2Pookie Pook
 
Part 3-functions
Part 3-functionsPart 3-functions
Part 3-functionsankita44
 
Python легко и просто. Красиво решаем повседневные задачи
Python легко и просто. Красиво решаем повседневные задачиPython легко и просто. Красиво решаем повседневные задачи
Python легко и просто. Красиво решаем повседневные задачиMaxim Kulsha
 
Class 8b: Numpy & Matplotlib
Class 8b: Numpy & MatplotlibClass 8b: Numpy & Matplotlib
Class 8b: Numpy & MatplotlibMarc Gouw
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocamlpramode_ce
 
Use the Matplotlib, Luke @ PyCon Taiwan 2012
Use the Matplotlib, Luke @ PyCon Taiwan 2012Use the Matplotlib, Luke @ PyCon Taiwan 2012
Use the Matplotlib, Luke @ PyCon Taiwan 2012Wen-Wei Liao
 
Stack using Linked List
Stack using Linked ListStack using Linked List
Stack using Linked ListSayantan Sur
 

Tendances (20)

Data Structures - Lecture 6 [queues]
Data Structures - Lecture 6 [queues]Data Structures - Lecture 6 [queues]
Data Structures - Lecture 6 [queues]
 
Lists
ListsLists
Lists
 
3 1. preprocessor, math, stdlib
3 1. preprocessor, math, stdlib3 1. preprocessor, math, stdlib
3 1. preprocessor, math, stdlib
 
Free Monads Getting Started
Free Monads Getting StartedFree Monads Getting Started
Free Monads Getting Started
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
 
08. haskell Functions
08. haskell Functions08. haskell Functions
08. haskell Functions
 
U3.stack queue
U3.stack queueU3.stack queue
U3.stack queue
 
week-16x
week-16xweek-16x
week-16x
 
เมธอด ชั้น ม 6 ห้อง 2
เมธอด ชั้น ม  6 ห้อง 2เมธอด ชั้น ม  6 ห้อง 2
เมธอด ชั้น ม 6 ห้อง 2
 
Functions123
Functions123 Functions123
Functions123
 
Functions12
Functions12Functions12
Functions12
 
Part 3-functions
Part 3-functionsPart 3-functions
Part 3-functions
 
Stack, queue and hashing
Stack, queue and hashingStack, queue and hashing
Stack, queue and hashing
 
Python легко и просто. Красиво решаем повседневные задачи
Python легко и просто. Красиво решаем повседневные задачиPython легко и просто. Красиво решаем повседневные задачи
Python легко и просто. Красиво решаем повседневные задачи
 
Class 8b: Numpy & Matplotlib
Class 8b: Numpy & MatplotlibClass 8b: Numpy & Matplotlib
Class 8b: Numpy & Matplotlib
 
Gnuplot 2
Gnuplot 2Gnuplot 2
Gnuplot 2
 
Stack and queue
Stack and queueStack and queue
Stack and queue
 
Introduction to functional programming using Ocaml
Introduction to functional programming using OcamlIntroduction to functional programming using Ocaml
Introduction to functional programming using Ocaml
 
Use the Matplotlib, Luke @ PyCon Taiwan 2012
Use the Matplotlib, Luke @ PyCon Taiwan 2012Use the Matplotlib, Luke @ PyCon Taiwan 2012
Use the Matplotlib, Luke @ PyCon Taiwan 2012
 
Stack using Linked List
Stack using Linked ListStack using Linked List
Stack using Linked List
 

En vedette

โปรแกรมย่อยและฟังก์ชันมาตรฐาน
โปรแกรมย่อยและฟังก์ชันมาตรฐานโปรแกรมย่อยและฟังก์ชันมาตรฐาน
โปรแกรมย่อยและฟังก์ชันมาตรฐานPrapatsorn Keawnoun
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1Little Tukta Lita
 
ตัวแปรในภาษาซี
ตัวแปรในภาษาซีตัวแปรในภาษาซี
ตัวแปรในภาษาซีboky_peaw
 
Transistor bias circuit
Transistor bias circuitTransistor bias circuit
Transistor bias circuitAdk Adool
 
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)Visaitus Palasak
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีchoco336
 
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์จุฬาพรรณ คณารักษ์
 

En vedette (7)

โปรแกรมย่อยและฟังก์ชันมาตรฐาน
โปรแกรมย่อยและฟังก์ชันมาตรฐานโปรแกรมย่อยและฟังก์ชันมาตรฐาน
โปรแกรมย่อยและฟังก์ชันมาตรฐาน
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม.6.1
 
ตัวแปรในภาษาซี
ตัวแปรในภาษาซีตัวแปรในภาษาซี
ตัวแปรในภาษาซี
 
Transistor bias circuit
Transistor bias circuitTransistor bias circuit
Transistor bias circuit
 
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)
การเขียนคำสั่งขั้นพื้นฐาน(ภาษาC)
 
การเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซีการเขียนโปรแกรมภาษาซี
การเขียนโปรแกรมภาษาซี
 
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์
ใบความรู้ที่ 1 เรื่อง ทรานซิสเตอร์
 

Similaire à ภาษา C โปรแกรมย่อยและฟังก์ชันมาตรฐาน

โปรแกรมย่อยและฟังชันก์มาตรฐาน
โปรแกรมย่อยและฟังชันก์มาตรฐานโปรแกรมย่อยและฟังชันก์มาตรฐาน
โปรแกรมย่อยและฟังชันก์มาตรฐานknang
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1Little Tukta Lita
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programmingAlberto Labarga
 
CL metaprogramming
CL metaprogrammingCL metaprogramming
CL metaprogrammingdudarev
 
Lex (lexical analyzer)
Lex (lexical analyzer)Lex (lexical analyzer)
Lex (lexical analyzer)Sami Said
 
Python 2.5 reference card (2009)
Python 2.5 reference card (2009)Python 2.5 reference card (2009)
Python 2.5 reference card (2009)gekiaruj
 
ANSI C REFERENCE CARD
ANSI C REFERENCE CARDANSI C REFERENCE CARD
ANSI C REFERENCE CARDTia Ricci
 
Real Time Big Data Management
Real Time Big Data ManagementReal Time Big Data Management
Real Time Big Data ManagementAlbert Bifet
 
Class 31: Deanonymizing
Class 31: DeanonymizingClass 31: Deanonymizing
Class 31: DeanonymizingDavid Evans
 
Learning notes of r for python programmer (Temp1)
Learning notes of r for python programmer (Temp1)Learning notes of r for python programmer (Temp1)
Learning notes of r for python programmer (Temp1)Chia-Chi Chang
 
A Proposition for Business Process Modeling
A Proposition for Business Process ModelingA Proposition for Business Process Modeling
A Proposition for Business Process ModelingAng Chen
 
Chapter 10 Library Function
Chapter 10 Library FunctionChapter 10 Library Function
Chapter 10 Library FunctionDeepak Singh
 
Introduction To Lisp
Introduction To LispIntroduction To Lisp
Introduction To Lispkyleburton
 

Similaire à ภาษา C โปรแกรมย่อยและฟังก์ชันมาตรฐาน (20)

โปรแกรมย่อยและฟังชันก์มาตรฐาน
โปรแกรมย่อยและฟังชันก์มาตรฐานโปรแกรมย่อยและฟังชันก์มาตรฐาน
โปรแกรมย่อยและฟังชันก์มาตรฐาน
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
CL metaprogramming
CL metaprogrammingCL metaprogramming
CL metaprogramming
 
Lex (lexical analyzer)
Lex (lexical analyzer)Lex (lexical analyzer)
Lex (lexical analyzer)
 
Abstract machines for great good
Abstract machines for great goodAbstract machines for great good
Abstract machines for great good
 
Python 2.5 reference card (2009)
Python 2.5 reference card (2009)Python 2.5 reference card (2009)
Python 2.5 reference card (2009)
 
R language introduction
R language introductionR language introduction
R language introduction
 
R Language Introduction
R Language IntroductionR Language Introduction
R Language Introduction
 
SVGo workshop
SVGo workshopSVGo workshop
SVGo workshop
 
R graphics
R graphicsR graphics
R graphics
 
กลุ่ม6
กลุ่ม6กลุ่ม6
กลุ่ม6
 
ANSI C REFERENCE CARD
ANSI C REFERENCE CARDANSI C REFERENCE CARD
ANSI C REFERENCE CARD
 
Real Time Big Data Management
Real Time Big Data ManagementReal Time Big Data Management
Real Time Big Data Management
 
Class 31: Deanonymizing
Class 31: DeanonymizingClass 31: Deanonymizing
Class 31: Deanonymizing
 
Learning notes of r for python programmer (Temp1)
Learning notes of r for python programmer (Temp1)Learning notes of r for python programmer (Temp1)
Learning notes of r for python programmer (Temp1)
 
ML-CheatSheet (1).pdf
ML-CheatSheet (1).pdfML-CheatSheet (1).pdf
ML-CheatSheet (1).pdf
 
A Proposition for Business Process Modeling
A Proposition for Business Process ModelingA Proposition for Business Process Modeling
A Proposition for Business Process Modeling
 
Chapter 10 Library Function
Chapter 10 Library FunctionChapter 10 Library Function
Chapter 10 Library Function
 
Introduction To Lisp
Introduction To LispIntroduction To Lisp
Introduction To Lisp
 

Plus de Noppanon YourJust'one

ส่งภาพประกวด
ส่งภาพประกวดส่งภาพประกวด
ส่งภาพประกวดNoppanon YourJust'one
 
การนำเข้าไฟล์เสียง
การนำเข้าไฟล์เสียงการนำเข้าไฟล์เสียง
การนำเข้าไฟล์เสียงNoppanon YourJust'one
 
กิจกรรมส่งภาพประกวด
กิจกรรมส่งภาพประกวดกิจกรรมส่งภาพประกวด
กิจกรรมส่งภาพประกวดNoppanon YourJust'one
 
ส่งภาพเข้าประกวด
ส่งภาพเข้าประกวดส่งภาพเข้าประกวด
ส่งภาพเข้าประกวดNoppanon YourJust'one
 
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8Noppanon YourJust'one
 
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป background
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป backgroundเทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป background
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป backgroundNoppanon YourJust'one
 
ประกวดภาพถ่าย
ประกวดภาพถ่ายประกวดภาพถ่าย
ประกวดภาพถ่ายNoppanon YourJust'one
 
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าว
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าวภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าว
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าวNoppanon YourJust'one
 
ข้อสอบวิเคราะห์
ข้อสอบวิเคราะห์ข้อสอบวิเคราะห์
ข้อสอบวิเคราะห์Noppanon YourJust'one
 

Plus de Noppanon YourJust'one (13)

Line maps for indoor
Line maps for indoorLine maps for indoor
Line maps for indoor
 
ข่าว It
ข่าว Itข่าว It
ข่าว It
 
ส่งภาพประกวด
ส่งภาพประกวดส่งภาพประกวด
ส่งภาพประกวด
 
การนำเข้าไฟล์เสียง
การนำเข้าไฟล์เสียงการนำเข้าไฟล์เสียง
การนำเข้าไฟล์เสียง
 
กิจกรรมส่งภาพประกวด
กิจกรรมส่งภาพประกวดกิจกรรมส่งภาพประกวด
กิจกรรมส่งภาพประกวด
 
ส่งภาพเข้าประกวด
ส่งภาพเข้าประกวดส่งภาพเข้าประกวด
ส่งภาพเข้าประกวด
 
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8
ขั้นตอนการทำ Emoticon อย่างง่าย โดยใช้ flash8
 
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป background
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป backgroundเทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป background
เทคนิค Flash cs ทำตัวอักษรวิ่งๆ แต่สีตัวอักษรเป็นพื้นรูป background
 
ประกวดภาพถ่าย
ประกวดภาพถ่ายประกวดภาพถ่าย
ประกวดภาพถ่าย
 
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าว
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าวภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าว
ภูมิปัญญาท้องถิ่น พิธีกรรมทำขวัญข้าว
 
ข้อสอบวิเคราะห์
ข้อสอบวิเคราะห์ข้อสอบวิเคราะห์
ข้อสอบวิเคราะห์
 
ภาษา C
ภาษา Cภาษา C
ภาษา C
 
ข่าว It 3
ข่าว It 3ข่าว It 3
ข่าว It 3
 

Dernier

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Dernier (20)

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
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
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
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
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
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
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

ภาษา C โปรแกรมย่อยและฟังก์ชันมาตรฐาน

  • 1.
  • 3. C 1 standard functions) 1 mathematic functions) 1 2–5 -8
  • 4. Character functions) 8 String functions) 8 - 10
  • 5. C C C Header file C h standard functions) C header file C h header file #include<header file.h>
  • 6. C compiler ” ” library functions) mathematic functions) #include <math. h> type) double double acos(x) asin(x) atan(x) sin(x) cos(x) tan(x) sqrt(x) exp(x) pow(x,y)
  • 7. log(x) log10(x) ceil(x) floor(x) fabs(x) acos(x) arc cosine x x radian) acos(x); 2) asin(x) arc sine x x asin(x);
  • 8. 3) atan(x) arc tan x x atan(x); sin(x) sine x x sin(x); 5) cos(x) cosine x x
  • 9. cos(x); 6) tan(x) tan x x tan(x); acos(x), asin(x), atan(x), sin(x), cos(x) tan(x) acos(x), asin(x), atan(x), sin(x), cos(x) tan(x)
  • 10. * math1.c */ #include<stdio.h> /* #include<math.h> /* #include<conio.h> /* void main(void) /* { double r, pi = 3.141592654; /* r = pi/180; /*
  • 11. clrscr(); /* printf("%fn",asin(r)); /* printf("%fn",acos(r)); /* printf("%fn",atan(r)); /* printf("%fn",sin(r)); /* printf("%fn",cos(r)); /* printf("%fn",tan(r)); /* printf("nPress any key back to program ..."); /*
  • 13. printf("%fn",asin(r)); arc sin r r printf("%fn",acos(r)); arc cosine r r
  • 14. printf("%fn",atan(r)); arc tan r r printf("%fn",sin(r)); sine r r printf("%fn",cos(r)); cosine r r printf("%fn",tan(r)); tan r r
  • 15. enter sqrt(x) square root) x x sqrt(x); 8) exp(x) ex x e e exp(x);
  • 16. 9) pow(x,y) xy x y pow(x, y); character functions) single char ( byte) #include<ctype.h> isalnum(ch),
  • 17. isalpha(ch), isdigit(ch), islower(ch), isupper(ch), tolower(ch), toupper(ch), isspace(ch), isxdigit(ch) 1.3 string functions) string) #include<string.h> strlen(s), strcmp(s1,s2) , strcpy(s), strcat(s1,s2) 1.4 clrscr( ) text mode gotoxy(x,y) cursor)
  • 18. sizeof(x) x Byte user defined functions) C ” ” ” ” user define functions : UDF) C