Book description
Learn the C programming language from one of the best. Stephen Kochan's Programming in C is thorough with easy-to-follow instructions that are sure to benefit beginning programmers. This book provides readers with practical examples of how the C programming language can be used with small, fast programs, similar to the programming used by large game developers such as Nintendo. If you want a one-stop-source for C programming, this book is it.The book is appropriate for all introductory-to-intermediate courses on programming in the C language, including courses covering C programming for games and small-device platforms.
Programming in C, Third Edition is a thoroughly revised and updated edition of Steven Kochan's classic C programming tutorial: a book that has helped thousands of students master C over the past twenty years. This edition fully reflects the latest C standard and contains current source code. It has been crafted to help students master C regardless of the platform they intend to use or the applications they intend to create -- including small-device and gaming applications, where C's elegance and speed make it especially valuable.
Kochan begins with the fundamentals, then covers every facet of C language programming: variables, data types, arithmetic expressions, program looping, making decisions, arrays, functions, structures, character strings, pointers, operations on bits, the preprocessors, I/O, and more. Coverage also includes chapters on working with larger programs; debugging programs; and the fundamentals of object-oriented programming. Appendices include a complete language summary, an introduction to the Standard C Library, coverage of compiling and running programs using gcc, common programming mistakes, and more.
Table of contents
- Copyright
- Developer’s Library
- Preface
- About the Author
- Acknowledgements
- We Want to Hear from You
- 1. Introduction
- 2. Some Fundamentals
- 3. Compiling and Running Your First Program
- 4. Variables, Data Types, and Arithmetic Expressions
- 5. Program Looping
- 6. Making Decisions
- 7. Working with Arrays
- 8. Working with Functions
- 9. Working with Structures
- 10. Character Strings
- 11. Pointers
- 12. Operations on Bits
- 13. The Preprocessor
- 14. More on Data Types
- 15. Working with Larger Programs
- 16. Input and Output Operations in C
- 17. Miscellaneous and Advanced Features
- 18. Debugging Programs
- 19. Object-Oriented Programming
-
A. C Language Summary
- 1.0. Digraphs and Identifiers
- 2.0. Comments
- 3.0. Constants
- 4.0. Data Types and Declarations
-
5.0. Expressions
- 5.1. Summary of C Operators
- 5.2. Constant Expressions
- 5.3. Arithmetic Operators
- 5.4. Logical Operators
- 5.5. Relational Operators
- 5.6. Bitwise Operators
- 5.7. Increment and Decrement Operators
- 5.8. Assignment Operators
- 5.9. Conditional Operators
- 5.10. Type Cast Operator
- 5.11. sizeof Operator
- 5.12. Comma Operator
- 5.13. Basic Operations with Arrays
- 5.14. Basic Operations with Structures
- 5.15. Basic Operations with Pointers
- 5.16. Compound Literals
- 5.17. Conversion of Basic Data Types
- 6.0. Storage Classes and Scope
- 7.0. Functions
- 8.0. Statements
- 9.0. The Preprocessor
- B. The Standard C Library
- C. Compiling Programs with gcc
- D. Common Programming Mistakes
- E. Resources
Product information
- Title: Programming in C, Third Edition
- Author(s):
- Release date: July 2004
- Publisher(s): Sams
- ISBN: 9780768689068
You might also like
book
Programming in C, 3/e, 3rd Edition
C is one of the most popular programming languages. It runs on most software platforms and …
book
C Programming Language, 2nd Edition
This book is meant to help the reader learn how to program in C. It is …
book
Programming in C, Fourth Edition
will teach you how to write programs in the C programming language. Whether you’re a novice …
book
Learn C Programming - Second Edition
Get started with writing simple programs in C while learning core programming concepts Key Features Learn …