การใช้ Turbo C ชุดที่ 11 functionKnow MastikateThe document contains information about computer programming functions in three sections:
1. It defines a function and explains the basic components of a function like the function name, parameters, return type, and return statement.
2. It describes different ways a function can be called - by value, by reference, and passing an array by reference. It provides code examples to illustrate each case.
3. It discusses global and local variables, and variable modifiers like static and extern that change how variables can be accessed within and outside functions.
Cpwk14 screen and soundKnow MastikateThe document provides an overview of computer programming concepts including:
1. Text mode and graphics mode for display.
2. Window functions for defining screen areas.
3. Text formatting functions for color, background, and positioning.
4. Sound functions for generating tones and stopping sound.
5. Graphics functions for shapes, lines, text and flood fill.
การใช้ Turbo C ชุดที่ 13 File IOKnow MastikateThe document contains snippets of code in C programming for file handling, including reading from and writing to files. Various functions and libraries related to file operations and user input are mentioned throughout the code segments. Additionally, there are indications of errors or specific behaviors expected from the programs, but much of the content appears to be garbled or encoded.
การใช้ Turbo C ชุดที่ 12 structureKnow MastikateThe document contains a series of programming code snippets primarily in C, focusing on struct and union declarations and their usage for managing student and car data. It includes examples of defining structs, using dynamic memory allocation, and basic input/output operations. Additional segments illustrate struct initialization and data display through function calls.
การใช้ Turbo C ชุดที่ 13 File IOKnow MastikateThe document contains snippets of code in C programming for file handling, including reading from and writing to files. Various functions and libraries related to file operations and user input are mentioned throughout the code segments. Additionally, there are indications of errors or specific behaviors expected from the programs, but much of the content appears to be garbled or encoded.
การใช้ Turbo C ชุดที่ 12 structureKnow MastikateThe document contains a series of programming code snippets primarily in C, focusing on struct and union declarations and their usage for managing student and car data. It includes examples of defining structs, using dynamic memory allocation, and basic input/output operations. Additional segments illustrate struct initialization and data display through function calls.
การใช้ Turbo C ชุดที่ 10 PointerKnow MastikateThe document provides an introduction to computer programming pointers in 3 sections. Section 1 defines pointers and their uses to reference memory locations. Section 2 demonstrates how to use pointers to reference and modify variable values. Section 3 shows pointers being used to swap the values of two variables by passing their addresses to a function. The document concludes by thanking the reader.
เอกสาร Program C for Pc-DigitalKnow MastikateProgram C for Pc-Digital
นาย วีรชน ต๊ะเรือน
คณะวิชา ไฟฟ้า สาขาวิชา ครุศาสตร์อุตสาหกรรม และ อิเล็กทรอนิกส์
มหาวิทยาลัย เทคโนโลยีราชมงคลลานนา วิทยาเขตพายัพ
12. Copyright (c) 2006 by Sasalak Tongkaw12
COMPUTER PROGRAMMING AND ALGORITH
ผิดพลาดทางตรรกะ
• Get number
• Answer = number *2
• Print Answer
• Get number
• Answer = number * 20
• Print Answer
13. Copyright (c) 2006 by Sasalak Tongkaw13
COMPUTER PROGRAMMING AND ALGORITH
นำาโปรแกรมไปใช้งาน
• ติดตั้งโปรแกรม
• ทดสอบการใช้งาน
• อบรมการใช้งาน
• ประเมินผลการใช้งาน
25. Copyright (c) 2006 by Sasalak Tongkaw25
COMPUTER PROGRAMMING AND ALGORITH
โครงสร้างแบบวงวน(loop
structure)
เรียกอีกชื่อหนึ่งว่า การวน
ซ้ำ้า(iteration)
มี 2 รูปแบบคือ do until
และ do while
loop
เงื่อนไข
yes
no
loop
เงื่อนไข
yes
no