Programming in C, 3rd Edition
Product Author Bios
Stephen Kochan has been developing software with the C programming language for over 20 years. He is the author and coauthor of several bestselling titles on the C language, including Programming in C, Programming in ANSI C, Topics in C Programming and several Unix titles, including Exploring the Unix System, Unix Shell Programming and Unix System Security. Mr. Kochan's most recent title, Programming in Objective-C, is a tutorial on an object-oriented programming language that is based on C.
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.
62 of 62 people found the following review helpful
Amazon Verified Purchase(What's this?)
This review is from: Programming in C (3rd Edition) (Paperback)I was still left scratching my head after having read twice and attempting the problems in K&R. Literally, I was excited as I read Kochan's book. His presentation is so clear, with the right balance of explanation and examples without being too wordy/vague/simplistic? (SAMS C in 21 Days) or too terse (K&R).
This book is an excellent introduction to C language (covering all the fundamentals and then some) with some consideration on good programming practices. I'm happy to see they've released a new edition.
After Kochan definitely consider any or all of the following:
C Traps and Pitfalls, Expert C Programming, C Companion, C Puzzle Book, and Memory as a Programming Concept in C/C++. Cheers!
34 of 34 people found the following review helpful
The Programming page turner,
This review is from: Programming in C (3rd Edition) (Paperback)As someone who is very familiar with programming logic using VBA but who has never stepped foot near C or C++, i found this book to be a great book. Technical books can quickly turn into fire kindling if there details that are not fully explained, but so far I have not found a single character of code that is not explained in the book. The book also manages to not be a "Bible" on C, it only presents key programming tools and common, practical programs. An awesome book for both beginners and those who are familiar with programming and simply need the C vocabulary
31 of 31 people found the following review helpful
Concise Crystal Clear -- 5 Big Shiny Stars,
By A Customer
This review is from: Programming in C (Hayden books C library) (Paperback)I found this book indispensable both to learn C and to learn a way of thinking about C. The author uses a well selected and deliberately sequenced set of program examples to thoroughly demonstrate what's going on. These programs are developed and modified from one chapter to the next to show different features of the language. I even have better insight, now, into a few mathematics concepts that I've always had trouble with because of the author's excellent presentation of these concepts using C language -- truly amazing. The writing style is logical, well-paced and consistent -- I never found myself trying to guess what the author meant -- which is pretty incredible with most computer books these days. And after reading the book in its entirety, I was able to see that the whole work was planned to succeed by the thoughtful cohesion of supporting elements (like a good program) rather than thrown together to succeed by sheer force of volume (like, say, a Microsoft... Read more
› See all 70 customer reviews...
Online Sample Chapters
Table of Contents
2. Some Fundamentals.
Programming. Higher-Level Languages. Operating Systems. Compiling Programs. Integrated Development Environments. Language Interpreters.
3. Compiling and Running Your First Program.
Compiling Your Program. Running Your Program. Understanding Your First Program. Displaying the Values of Variables. Comments. Exercises.
4. Variables, Data Types, and Arithmetic Expressions.
Working with Variables. Understanding Data Types and Constants. Working with Arithmetic Expressions. Combining Operations with Assignment: The Assignment Operators. Types Complex and Imaginary. Exercises.
5. Program Looping.
The for Statement. The while Statement. The do Statement. Exercises.
6. Making Decisions.
The if Statement. The switch Statement. Boolean Variables. The Conditional Operator. Exercises.
7. Working with Arrays.
Defining an Array. Initializing Arrays. Character Arrays. Multidimensional Arrays. Variable-Length Arrays. Exercises.
8. Working with Functions.
Defining a Function. Arguments and Local Variables. Returning Function Results. Functions Calling Functions Calling... Top-Down Programming. Functions and Arrays. Global Variables. Automatic and Static Variables. Recursive Functions. Exercises.
9. Working with Structures.
A Structure for Storing the Date. Functions and Structures. Initializing Structures. Arrays of Structures. Structures Containing Structures. Structures Containing Arrays. Structure Variants.Exercises.
10. Character Strings.
Arrays of Characters. Variable-Length Character Strings. Escape Characters. More on Constant Strings. Character Strings, Structures, and Arrays. Character Operations. Exercises.
Defining a Pointer Variable. Using Pointers in Expressions. Working with Pointers and Structures. The Keyword const and Pointers. Pointers and Functions. Pointers and Arrays. Operations on Pointers. Pointers to Functions. Pointers and Memory Addresses. Exercises.
12. Operations on Bits.
Bit Operators. Bit Fields. Exercises.
13. The Preprocessor.
The #define Statement. The #include Statement. Conditional Compilation. Exercises.
14. More on Data Types.
Enumerated Data Types. The typedef Statement. Data Type Conversions. Exercises.
15. Working with Larger Programs.
Dividing Your Program into Multiple Files. Communication Between Modules. Other Utilities for Working with Larger. Programs.
16. Input and Output Operations in C.
Character I/O: getchar and putchar. Formatted I/O: printf and scanf. Input and Output Operations with Files. Special Functions for Working with Files. Exercises.
17. Miscellaneous and Advanced Features.
Miscellaneous Language Statements. Working with Unions. The Comma Operator. Type Qualifiers. Command-Line Arguments. Dynamic Memory Allocation.
18. Debugging Programs.
Debugging with the Preprocessor. Debugging Programs with gdb.
19. Object-Oriented Programming.
What Is an Object Anyway? Instances and Methods. Writing a C Program to Work with Fractions. Defining an Objective-C Class to Work with Fractions. Defining a C++ Class to Work with Fractions. Defining a C# Class to Work with Fractions.
Appendix A - C Language Summary.
Digraphs and Identifiers. Comments. Constants. Data Types and Declarations. Expressions. Storage Classes and Scope. Functions. Statements. The Preprocessor.
Appendix B: The Standard C Library.
Standard Header Files. String Functions. Memory Functions. Character Functions. I/O Functions. In-Memory Format Conversion Functions. String-to-Number Conversion. Dynamic Memory Allocation Functions. Math Functions. General Utility Functions.
Appendix C: Compiling Programs with gcc.
General Command Format. Command-Line Options.
Appendix D: Common Programming Mistakes.
Appendix E: Resources.
Answers to Exercises, Errata, etc. The C Programming Language. C Compilers and Integrated Development Environments. Miscellaneous.
Book + eBook Bundle
Book Price $39.99
eBook Price $14.00
eBook formats included
This book includes free shipping!
This book includes free shipping!
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.