Book description
With Beginning C: From Novice to Professional, Fourth Edition, you'll come to understand the fundamentals of the C language and learn how to program. All you need is this book and any one of the widely available free or commercial C or C++ compilers, and you'll soon be writing real C programs. You'll learn C from the first principles, using step-by-step working examples that you'll create and execute yourself.
This book will increase your programming expertise by guiding you through the development of fully working C applications that use what you've learned in a practical context. You'll also be able to strike out on your own by trying the exercises included at the end of each chapter. Pick up a copy of this book by renowned author, Ivor Horton, because:
It is the only beginning-level book to cover the latest ANSI standard in C
Is approachable and aimed squarely at people new to C
Emphasizes writing code after the first chapter
Includes substantial examples relevant to intermediate users
Table of contents
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- Acknowledgments
- Introduction
- CHAPTER 1: Programming in C
-
CHAPTER 2: First Steps in Programming
- Memory in Your Computer
- What Is a Variable?
- Variables That Store Numbers
- Variables and Memory
- Integer Variable Types
- Floating-Point Values
- Floating-Point Variables
- Division Using Floating-Point Values
- More Complicated Expressions
- Defining Constants
- Choosing the Correct Type for the Job
- Explicit Type Conversion
- More Numeric Data Types
- The op= Form of Assignment
- Mathematical Functions
- Designing a Program
- Summary
- Exercises
- CHAPTER 3: Making Decisions
-
CHAPTER 4: Loops
- How Loops Work
- Introducing the Increment and Decrement Operators
- The for Loop
- General Syntax of the for Loop
- More on the Increment and Decrement Operators
- The for Loop Revisited
- The while Loop
- Nested Loops
- Nested Loops and the goto Statement
- The do-while Loop
- The continue Statement
- Designing a Program
- Summary
- Exercises
- CHAPTER 5: Arrays
- CHAPTER 6: Applications with Strings and Text
- CHAPTER 7: Pointers
- CHAPTER 8: Structuring Your Programs
- CHAPTER 9: More on Functions
- CHAPTER 10: Essential Input and Output Operations
- CHAPTER 11: Structuring Data
-
CHAPTER 12: Working with Files
- The Concept of a File
- Accessing Files
- Writing to a Text File
- Reading from a Text File
- Writing Strings to a Text File
- Reading Strings from a Text File
- Formatted File Input and Output
- Dealing with Errors
- Further Text File Operation Modes
- Binary File Input and Output
- Moving Around in a File
- Using Temporary Work Files
- Updating Binary Files
- File Open Modes Summary
- Designing a Program
- Summary
- Exercises
- CHAPTER 13: Supporting Facilities
- APPENDIX A: Computer Arithmetic
- APPENDIX B: ASCII Character Code Definitions
- APPENDIX C: Reserved Words in C
- APPENDIX D: Input and Output Format Specifications
- Index
Product information
- Title: Beginning C: From Novice to Professional, Fourth Edition
- Author(s):
- Release date: October 2006
- Publisher(s): Apress
- ISBN: 9781590597354
You might also like
book
Absolute Beginner’s Guide to C, 2nd Edition
For beginning programmers, this updated edition answers all C programming questions. This bestseller talks to readers …
book
Beginning C, Fifth Edition
Beginning C, 5th Edition teaches you how to program using the widely-available C language. You'll begin …
book
C Primer Plus, Fourth Edition
is a conversational-style book aimed at those new to C programming. A friendly and easy-to-use self-study …
book
A Laboratory Course in C++, 5th Edition
Through hands-on lab exercises, this lab manual teaches the syntax and semantics of C++ constructs in …