Book description
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..
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
-
Part I: Fundamentals of C
- Lesson 1. Getting Started with C
- Lesson 2. The Components of a C Program
- Lesson 3. Storing Information: Variables and Constants
- Lesson 4. The Pieces of a C Program: Statements, Expressions, and Operators
- Lesson 5. Packaging Code in Functions
- Lesson 6. Basic Program Control
- Lesson 7. Fundamentals of Reading and Writing Information
-
Part II: Putting C to Work
- Lesson 8. Using Numeric Arrays
- Lesson 9. Understanding Pointers
- Lesson 10. Working with Characters and Strings
- Lesson 11. Implementing Structures, Unions, and TypeDefs
- Lesson 12. Understanding Variable Scope
- Lesson 13. Advanced Program Control
- Lesson 14. Working with the Screen, Printer, and Keyboard
-
Part III: Advanced C
- Lesson 15. Pointers to Pointers and Arrays of Pointers
- Lesson 16. Pointers to Functions and Linked Lists
-
Lesson 17. Using Disk Files
- Relating Streams to Disk Files
- Understanding the Types of Disk Files
- Using Filenames
- Opening a File
- Writing and Reading File Data
- File Buffering: Closing and Flushing Files
- Understanding Sequential Versus Random File Access
- Detecting the End of a File
- File Management Functions
- Using Temporary Files
- Summary
- Q&A
- Workshop
- Lesson 18. Manipulating Strings
- Lesson 19. Getting More from Functions
- Lesson 20. Exploring the C Function Library
- Lesson 21. Working with Memory
- Lesson 22. Advanced Compiler Use
-
Part IV: Appendixes
- Appendix A. ASCII Chart
- Appendix B. C/C++ Reserved Words
- Appendix C. Common C Functions
-
Appendix D. Answers
- Answers for Lesson 1
- Answers for Lesson 2
- Answers for Lesson 3
- Answers for Lesson 4
- Answers for Lesson 5
- Answers for Lesson 6
- Answers for Lesson 7
- Answers for Lesson 8
- Answers for Lesson 9
- Answers for Lesson 10
- Answers for Lesson 11
- Answers for Lesson 12
- Answers for Lesson 13
- Answers for Lesson 14
- Answers for Lesson 15
- Answers for Lesson 16
- Answers for Lesson 17
- Answers for Lesson 18
- Answers for Lesson 19
- Answers for Lesson 20
- Answers for Lesson 21
- Answers for Lesson 22
- Index
Product information
- Title: C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition
- Author(s):
- Release date: October 2013
- Publisher(s): Sams
- ISBN: 9780133149913
You might also like
book
Beginning COBOL for Programmers
Beginning COBOL for Programmers is a comprehensive, sophisticated tutorial and modular skills reference on the COBOL …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …
book
(ISC)2 SSCP Systems Security Certified Practitioner Official Study Guide, 3rd Edition
The only SSCP study guide officially approved by (ISC)2 The (ISC)2 Systems Security Certified Practitioner (SSCP) …