C 语言问题求解与程序设计
Problem Solving and Program Design in C Language
- 1. 1- Overview of Computers and Programming
- 1. 1.0 Overview of the Overview
- 2. 1.1 Electronic Computers then and Now
- 4. 1.2 Computer Hardware
- 6. 1.3 Computer Software
- 8. 1.4 The Software Development Method
- 10. 1.5 An Example for the Software Development Method
- 2. 2- Overview of C
- 1. 2.1 C Language Elements
- 2. 2.2 Naming User-Defined Identifiers and Variables
- 4. 2.3 Data Types (int and double)
- 5. 2.4 Data Type (char) and ASCII Codes
- 6. 2.5 Executable Statements Assignment Statements
- 7. 2.6 Executable Statements printf function
- 8. 2.7 Executable Statements scanf function
- 9. 2.8 The Return Statement
- 10. 2.9 General Form of a C Program
- 12. 2.9.1 TASK 1
- 13. 2.9.2 TASK 2
- 14. 2.10 Arithmetic Expressions (+, -, , , %)
- 15. 2.11 Mixed-Type Assignment Statement
- 16. 2.12 Type Conversion
- 17. 2.13 Multiple Operators
- 18. 2.14 Formatting Numbers in Program Output
- 19. 2.15.1 TASK 3
- 20. 2.15.1 TASK 4
- 21. 2.15.1 TASK 5
- 22. 2.15.1 TASK 6
- 23. 2.15.1 TASK 7
- 24. 2.15.1 TASK 8
- 3. 3 - Control Flow
- 1. 3.1 Control Structures
- 2. 3.2 Logical Operators
- 3. 3.3 Operator Precedence
- 4. 3.4 Short Circuit Evaluation
- 5. 3.5 Writing English Conditions in c
- 6. 3.6 Comparing Characters
- 7. 3.7.1 Example Control Flow
- 8. 3.7.2 Example Control Flow
- 9. 3.8 If - Else Statement
- 10. 3.9.1 Example If -Else -1
- 11. 3.9.2 Example If -Else -2
- 12. 3.9.3 Example If -Else -3
- 13. 3.9.4 Example If -Else -4
- 14. 3.9.5 Example If -Else -5
- 15. 3.9.6 Example If -Else -6
- 16. 3.10 Switch Case
- 4. 4 - Loops
- 1. 4.1 Intro to Loops
- 2. 4.2 While Loop
- 3. 4.3.1 TASK - 16
- 4. 4.3.2 TASK - 17
- 5. 4.3.3 TASK - 18
- 6. 4.3.4 TASK - 19 and 20
- 7. 4.3.5 TASK - 21
- 8. 4.4 For Loop