內容簡介
本書是全球暢銷的C語言教程之一。全書系統介紹了4種流行的程式設計方法一一面向過程、基於對象、面向對象以及泛型編程,內容全面、生動、易懂,由淺入深地介紹了結構化編程和軟體工程的基本概念,從簡單的概念到最終完整的語言描述,清晰、準確、透徹、詳細地講解C語言,尤其注重程式設計思想和方法的介紹。在內容方面,本書新增加了介紹C99標準、排序、基於AllegroC函式館的遊戲編程以及有關c++面向對象程式設計的章節,並且在附錄中增加了Sudoku遊戲程式設計的講解。“活代碼”方法是本書的另一特色,它可以促進學生積極地參與到程式設計中來。書中列出的各種程式設計提示,是作者多年教學經驗的總結。
圖書目錄
Chapter 1 Introduction to Computers, the Internet and the Web
Chapter 2 Introduction to C Programming
Chapter 3 Structured Program Development in C
Chapter 4 C Program Control
Chapter 5 C Functions
Chapter 6 C Arrays
Chapter 7 C Pointers
Chapter 8 C Characters and Strings
Chapter 9 C Formatted Input/Output
Chapter 10 C Structures, Unions, Bit Manipulations and Enumerations
Chapter 11 C File Processing
Chapter 12 C Data Structures
Chapter 13 C Preprocessor
Chapter 14 Other C Topics
Chapter 15 Game Programming with the Allegro C Library
Chapter 16 Sorting: A Deeper Look
Chapter 17 Introduction to C99
Chapter 18 C++ as a Better C; Introducing Object Technology
Chapter 19 Introduction to Classes and Objects
Chapter 20 Classes: A Deeper Look, Part 1
Chapter 21 Classes: A Deeper Look, Part 2
Chapter 22 Operator Overloading
Chapter 23 Object-Oriented Programming: Inheritance
Chapter 24 Object-Oriented Programming: Polymorphism
Chapter 25 Templates 718
Chapter 26 Stream Input/Output
Chapter 27 Exception Handling
Appendix A Internet and Web Resources
Appendix B Operator Precedence Charts
Appendix C ASCII Character Set
Appdndix D Number Systems
Appendix E Game Programming: Solving Sudoku
Index