Skip to Content
C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition
book

C Programming in One Hour a Day, Sams Teach Yourself, 7th Edition

by Bradley L. Jones, Peter Aitken, Dean Miller
October 2013
Beginner
704 pages
17h 46m
English
Sams

Overview

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..

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Sams Teach Yourself C++ in One Hour a Day, 9th Edition

Sams Teach Yourself C++ in One Hour a Day, 9th Edition

Siddhartha Rao

Publisher Resources

ISBN: 9780133149913Purchase book