C How to Program: With Case Studies in Applications and Systems Programming, 9/e (GE-Paperback)

Paul Deitel , Harvey Deitel



* A user-friendly, code-intensive introduction to C programming.
The Deitel signature live-code approach allows students to run full programs as they learn key concepts.
- UPDATED - The 9th Edition features 142 complete, working, real-world C programs. Each code example is followed with one or more sample executions.
- UPDATED - All code examples and code selections were checked using the clang-tidy static code analysis tool.

NEW - Over 350 integrated Self-Check exercises with answers help students test and validate their understanding as they read.
- Fill-in-the-blank, true/false, and discussion Self Checks focus on concepts and terminology.
- Code-based Self Checks give students a chance to try out and reinforce programming techniques.

A focus on performance issues prepares readers for professional software-development challenges and practices.

UPDATED - Students are encouraged to think like developers by familiarizing themselves with popular open-source software and tools like Docker, GitHub, and StackOverflow.

* Offers hundreds of real-world examples, exercises, and projects for hands-on practice
UPDATED More than twenty case studies in systems programming and applications programming give students fun, hands-on opportunities to use C as its intended to be used. New and enhanced case studies:
- Focus on data science including simulations with random-number generation, survey data analysis, natural language processing, and artificial intelligence (machine-learning with simple linear regression).
- Incorporate free open-source libraries and tools.
- Focus on visualization with gnuplot.
- UPDATED - Over 400 examples, exercises, and projects (EEPs) allow students to solve interesting, real-world problems working with real-world data. EEPs are drawn from an assortment of computer science, data science, and other fields to instruct and engage students.

* Covers fundamental to advanced concepts in a flexible, modular format
Rich coverage of C fundamentals emphasizes problem-solving and algorithm development to give novice programmers a solid foundation in programming principles.
Intermediate and advanced topics are included for use in higher-level courses or for further self-study.
The modular presentation covers fundamental to advanced concepts in groups of related chapters. Instructors can easily adapt the content to a variety of courses and audiences.
- NEW - A one-page, full-color Table of Contents chart on the inside front cover makes it easy to see the books modular structure and lists all of the case studies.

Up-to-date content aligns with contemporary standards, trends, operating systems, and development tools.
- UPDATED - The book adheres to the C11/C18 standards to keep pace with expanded C capabilities. Terminology throughout has been updated to reflect the most recent C standard to help students prepare for a career in programming.
- UPDATED - All program code is compatible with Windows, macOS, and Linux operating systems and has been tested using the latest versions of the Visual C++, XCode, and GNU gcc compilers.
- UPDATED - Updated content aligns to the latest ACM/IEEE computing curricula recommendations, which call for covering security, data science, ethics, privacy, and performance concepts and using real-world data throughout the curriculum.
- UPDATED - Enhanced and updated coverage of secure C programming includes additional SEI CERT C Coding Standards. All security-related issues are called out with an icon in the text.
- UPDATED - Additional exercises ask students to use the Internet to research ethics and privacy issues in computing.
- UPDATED - Performance icons identify areas in the text that discuss performance-related issues. The case study on multithreading and multicore performance has been enhanced.
- NEW - Common errors and good software engineering practices are called out with new margin icons.
- NEW- A new tutorial helps MacOS and Windows users compile and run programs using gcc in the cross-platform GNU Compiler Collection Docker container.
- UPDATED - Expanded coverage of sorting algorithms and analysis of algorithms with Big O is included in a dedicated chapter (Chapter 13).
- NEW - Appendix D presents a user-friendly overview of object-oriented programming fundamentals to help introduce students to different programming paradigms.


* 一本以使用者友善、程式碼密集的方式介紹 C 語言的入門書籍。
Deitel 的特色活碼方法讓學生在學習關鍵概念時能夠執行完整的程式。
- 更新 - 第9版包含142個完整、可運行的真實世界 C 程式。每個程式碼範例後面都附有一個或多個樣本執行。
- 更新 - 所有程式碼範例和程式碼選擇都使用 clang-tidy 靜態程式碼分析工具進行檢查。

新增 - 超過350個整合的自我檢查練習,並附有答案,幫助學生在閱讀時測試和驗證他們的理解。
- 填空、是非和討論自我檢查專注於概念和術語。
- 基於程式碼的自我檢查讓學生有機會嘗試和強化程式設計技巧。


更新 - 鼓勵學生像開發人員一樣思考,熟悉流行的開源軟體和工具,如 Docker、GitHub 和 StackOverflow。

* 提供數百個真實世界的範例、練習和專案,供實踐操作。
更新 - 超過二十個系統程式設計和應用程式設計的案例研究,讓學生有趣地、實踐地使用 C 語言。新的和增強的案例研究:
- 專注於資料科學,包括隨機數生成的模擬、調查數據分析、自然語言處理和人工智慧(使用簡單線性回歸的機器學習)。
- 整合免費開源庫和工具。
- 專注於使用 gnuplot 進行視覺化。
- 更新 - 超過400個範例、練習和專案(EEP)讓學生使用真實世界的數據解決有趣的問題。EEP來自於各種計算機科學、資料科學和其他領域,以教導和吸引學生。

* 彈性、模組化的格式涵蓋從基礎到高級的概念。
豐富的 C 基礎知識涵蓋強調問題解決和演算法開發,為初學者程式設計師打下堅實的基礎。
- 新增 - 在內部封面上的一頁全彩色目錄圖表使讀者能夠清楚地看到書籍的模組化結構並列出所有的案例研究。

- 更新 - 本書遵循 C11/C18 標準,以跟上擴展的 C 功能。整本書的術語已更新以反映最新的 C 標準,幫助學生為程式設計職業生涯做好準備。
- 更新 - 所有程式碼與 Windows、macOS 和 Linux 作業系統相容,並使用最新版本的 Visual C++、XCode 和 GNU gcc 編譯器進行測試。
- 更新 - 更新的內容符合最新的 ACM/IEEE 計算課程建議,要求在課程中涵蓋安全、資料科學、倫理、隱私和效能概念,並使用真實世界的數據。
- 更新 - 增強和更新的安全 C 程式設計涵蓋包括額外的 SEI CERT C 編碼標準。所有與安全相關的問題在文本中都有標示。
- 更新 - 額外的練習要求學生使用互聯網研究計算機倫理和隱私問題。
- 更新 - 效能圖示標識文本中討論與效能相關的問題。多線程和多核心的案例研究


1.Introduction to Computers and C
2.Intro to C Programming
3.Structured Program Development
4.Program Contro
8.Characters and Strings
9.Formatted Input/Output
10.Structures, Unions, Bit Manipulation and Enumerations
11.File Processing
12.Data Structuresinary Trees
13. Computer-Science Thinking: Sorting Algorithms and Big O
15.Other Topics

A. Operator Precedence Chart
B. ASCII Character Set
C. Multithreading/Multicore and other C18/C11/C99 Topics
D. Intro to Object-Oriented Programming Concepts

Online Appendices
E. Number systems
F-H.Using the Visual Studio Debugger, Using the GNU gdb Debugger, and Using theXcode Debugger


1. 電腦和C語言介紹
2. C程式設計入門
3. 結構化程式開發
4. 程式控制
5. 函式
6. 陣列
7. 指標
8. 字元和字串
9. 格式化輸入/輸出
10. 結構、聯合、位元操作和列舉
11. 檔案處理
12. 資料結構和二元樹
13. 電腦科學思維:排序演算法和Big O
14. 預處理器
15. 其他主題

A. 運算子優先順序表
B. ASCII 字元集
C. 多執行緒/多核心和其他 C18/C11/C99 主題
D. 物件導向程式設計概念入門

E. 數字系統
F-H. 使用 Visual Studio 偵錯器、使用 GNU gdb 偵錯器和使用 Xcode 偵錯器