The 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.
The 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.
The 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.
2. 犖犢犖犖÷弦犖 犖犖犖巌犖犖犖犖犢犖犖÷弦犖ム犖犖犖迦県犖 C++ 犢犖犢犖犢犖犢犖 2 犖犖犖萎犖犖 犖犖劇賢 Simple Data type ( 犢犖犖朽権犖犖о険犖犖犖朽 ) 犢犖犖犖犖犢犖迦犖犖犖犖巌犖犢犖犖犖巌犖犖犖犖謹犖犢犖犖朽権犖犖犖迦権犖犖迦牽犢犖犖朽権犖 犢犖犢犖 犖犖о顕犖÷犖о犖迦 , 犖犖о顕犖÷権犖迦硯 , 犖犖о顕犖÷肩犖項 , 犖犖迦 犢犖犢犖犖犢犖 Structure Data type ( 犢犖犖朽権犖犖犖迦権犖犖ム険犖 ) 犢犖犖犖犖犢犖迦犖犖犖犖巌犖犢犖犖犖巌犖犖犖犖謹犖犖犖ム顕犖∇牽犖迦権犖犖迦牽 犢犖犢犖 犖犖犖巌検犖迦犖犢犖橿犖犢犖犢犖犢犖ム鍵犖о険犖犖犖犖犢犖犖劇賢犖犖÷犖犖迦犖 犖犖 51 , 犖犖о顕犖÷肩犖項犖犖犖犖犢犖犢犖÷犢犖犖犖萎権犖 1 犢犖犖劇賢犖 犢犖犢犖犖犢犖
3. Simple Data Type The values shown above are those found on most 32-bit systems unsigned: 0 to 4294967295 signed: -2147483648 to 2147483647 4 bytes Long integer. long int unsigned: 0 to 4294967295 signed: -2147483648 to 2147483647 4 bytes Integer. int unsigned: 0 to 65535 signed: -32768 to 32767 2 bytes Short Integer. short int unsigned: 0 to 255 signed: -128 to 127 1 byte Character or small integer. char Range* Size* Description Name
4. Simple Data Type The values shown above are those found on most 32-bit systems 1.7 x 10 -308 to 1.7 x 10 +308 油 8 bytes Long double precision floating point number. long double 1.7 x 10 -308 to 1.7 x 10 +308 油 8 bytes Double precision floating point number. double 3.4 x 10 -38 to 3.4 x 10 +38 4 bytes Floating point number. float true or false 1 byte Boolean value. It can take one of two values: true or false. bool Range* Size* Description Name
5. 犖о鹸犖犖朽犖ム厳犖犖犖犖犖巌犖犖園硯犢犖犖犢犖犢犢犖犖÷顕犖萎犖園 data type 犖犖園硯犢犖犖 犢犖犢犖 犖犖園犖犖犖 1 犖犖園硯犖犖園犖犖 犢犖犢 char 犖犖園硯犢犖犖 犢犖犢犖 犖犖園硯犢犖ム犢犖÷犖÷元犖犖伍犖犖犖犖巌権犖 犢犖ム厳犖犖犢犖犢 short int, int, long int 犖犖園硯犢犖犖 犢犖犢犖 犖犖園硯犢犖ム犢犖犖犖÷元犖犖伍犖犖犖犖巌権犖 犢犖ム厳犖犖犢犖犢 float, double, long double 犖犖園硯犢犖犖 犢犖犢犖 犖犖園犖犖犖萎検犖迦犖犖о犖 1 犖犖園硯犖犖園犖犖 犢犖犢 string 犢犖犖∇犢犖犖犢犖犖巌犖 header file 犖犖劇犖 string 犢犖犢犖迦犖犢犖犢犖犖犢犖犖犖
6. 犖犖園硯犖犖∇犖迦犖犖迦牽犢犖ム厳犖犖 Data Type 犢犖犢犢犖犖÷顕犖萎犖園犖犖園硯犢犖犖 犢犖犖犖∇犖犖迦牽犖犖迦牽犖犖迦犖劇犖犖犖朽犖犖巌硯犖犖犖犖犖ム検犖犖朽犖÷元犖犖園絹犖÷元 r 犖犖園硯犢犖犖犖犖橿見犖犖園犢犖犢犖犖犢犖迦犖犖犖朽 犢犖犢犖犖犢犖 3.14 犢犖犖犖犖о犖 犢犖犢犖犢犖ム犖犖犖犖巌権犖 犖犖謹犖犖о牽犢犖犢犖犖園硯犢犖犖犢犖犖 float 犖犖園硯犢犖犖犢犖犢犖犖犢犖迦牽犖園絹犖÷元 犖犖園絹犖÷元 犢犖犢犖犢犖犢犖犖園犖犖犖橿犖о犢犖犢犖÷犖ム鍵犖犖犖犖巌権犖 犖犖園犖犖園犖犖犖о牽犢犖犢犖犖園硯犢犖犖 float 犖犖園硯犢犖犖犢犖犢犖犖犖ム献犖園犖犢 犖犖ム献犖園犖犢犢犖犢犖犢犖犢犖犖園犖犖犖橿犖о犢犖犢犖÷犖ム鍵犖犖犖犖巌権犖 犖犖園犖犖園犖犖犖о牽犢犖犢犖犖園硯犢犖犖 float