Sams Teach Yourself C Programming in One Hour a Day, 7/e (Paperback)

Bradley L. Jones

相關主題

商品描述

Sams Teach Yourself C Programming in One Hour a Day, Seventh Edition is the newest version of the worldwide best-seller Sams Teach Yourself C in 21 Days. Fully revised for the new C11 standard and libraries, it now emphasizes platform-independent C programming using free, open-source C compilers. This edition strengthens its focus on C programming fundamentals, and adds new material on popular C-based object-oriented programming languages such as Objective-C.

Filled with carefully explained code, clear syntax examples, and well-crafted exercises, this is the broadest and deepest introductory C tutorial available. It’s ideal for anyone who’s serious about truly mastering C – including thousands of developers who want to leverage its speed and performance in modern mobile and gaming apps.

 

 

Friendly and accessible, it delivers step-by-step, hands-on experience that starts with simple tasks and gradually builds to professional-quality techniques. Each lesson is designed to be completed in hour or less, introducing and clearly explaining essential concepts, providing practical examples, and encouraging you to build simple programs on your own. Coverage includes:

  • Understanding C program components and structure
  • Mastering essential C syntax and program control
  • Using core language features, including numeric arrays, pointers, characters, strings, structures, and variable scope
  • Interacting with the screen, printer, and keyboard
  • Using functions and exploring the C Function Library
  • Working with memory and the compiler

Contents at a Glance

PART I: FUNDAMENTALS OF C
1 Getting Started with C
2 The Components of a C Program
3 Storing Information: Variables and Constants
4 The Pieces of a C Program: Statements, Expressions, and Operators
5 Packaging Code in Functions
6 Basic Program Control
7 Fundamentals of Reading and Writing Information

PART II: PUTTING C TO WORK
8 Using Numeric Arrays
9 Understanding Pointers
10 Working with Characters and Strings
11 Implementing Structures, Unions, and TypeDefs
12 Understanding Variable Scope
13 Advanced Program Control
14 Working with the Screen, Printer, and Keyboard

PART III: ADVANCED C
15 Pointers to Pointers and Arrays of Pointers
16 Pointers to Functions and Linked Lists
17 Using Disk Files
18 Manipulating Strings
19 Getting More from Functions
20 Exploring the C Function Library
21 Working with Memory
22 Advanced Compiler Use

PART IV: APPENDIXES
A ASCII Chart
B C/C++ Reserved Words
C Common C Functions
D Answers

 

商品描述(中文翻譯)

《Sams Teach Yourself C Programming in One Hour a Day, Seventh Edition》是全球最暢銷的《Sams Teach Yourself C in 21 Days》的最新版本。這本書完全修訂以符合新的C11標準和庫,並強調使用免費、開源的C編譯器進行平台無關的C編程。這個版本加強了對C編程基礎的關注,並增加了有關流行的基於C的面向對象編程語言(如Objective-C)的新材料。

這本書充滿了仔細解釋的代碼、清晰的語法示例和精心設計的練習,是最廣泛和最深入的C入門教程。它非常適合那些真正想要精通C的人,包括成千上萬的開發人員,他們希望在現代移動應用程序和遊戲中利用其速度和性能。

這本書友好且易於理解,提供了逐步的實踐經驗,從簡單的任務開始,逐漸發展到專業技術。每個課程都設計成在一小時或更短的時間內完成,介紹並清楚解釋基本概念,提供實用示例,並鼓勵您自己建立簡單的程序。內容包括:

- 理解C程序組件和結構
- 掌握基本的C語法和程序控制
- 使用核心語言功能,包括數字數組、指針、字符、字符串、結構和變量作用域
- 與屏幕、打印機和鍵盤交互
- 使用函數並探索C函數庫
- 處理內存和編譯器

《內容一覽》
第一部分:C基礎
1. 開始使用C
2. C程序的組件
3. 存儲信息:變量和常量
4. C程序的組成部分:語句、表達式和運算符
5. 在函數中打包代碼
6. 基本程序控制
7. 讀寫信息的基礎知識

第二部分:C的應用
8. 使用數字數組
9. 理解指針
10. 使用字符和字符串
11. 實現結構、聯合和類型定義
12. 理解變量作用域
13. 高級程序控制
14. 使用屏幕、打印機和鍵盤

第三部分:高級C
15. 指向指針和指針數組
16. 指向函數和鏈表的指針
17. 使用磁盤文件
18. 操作字符串
19. 從函數中獲取更多
20. 探索C函數庫
21. 使用內存
22. 高級編譯器使用

附錄:
A. ASCII字符表
B. C/C++保留字
C. 常用C函數
D. 答案