C How to Program: With Case Studies Introducing Applications and Systems Programming

C How to Program: With Case Studies Introducing Applications and Systems Programming, 9th edition

  • Paul Deitel, 
  • Harvey M. Deitel

Choose the option that's right for you

Single

$9.99 / mo

4-month minimum term for $39.96

  • Access this eText title
  • Up to 2 devices

Multi

$14.99 / mo

4-month minimum term for $59.96

  • Access over 1,500 titles
  • Up to 2 devices
  • Discounted tutor access

Learn more, spend less

  • Icon

    Watch and learn

    Videos & animations bring concepts to life

  • Icon

    Listen on the go

    Learn how you like with full eText audio

  • Icon

    Learn anytime, anywhere

    Get the app to access your eText whenever you need it

  • Icon

    Make it your own

    Your notes. Your highlights. Your eText

  • Icon

    Find it fast

    Quickly navigate your eText with search

Overview

C How to Program is a user-friendly, code-intensive, and case-study rich introduction to C programming. The text presents concepts in the context of 142 full-working programs — so you can run each program as you study it and see how your learning applies to real-world programming scenarios.

Published by Pearson (March 23rd 2021) - Copyright © 2022

ISBN-13: 9780137454372

Subject: Pre-Programming & Introduction to Programming

Category: C++

Table of contents

PART 1: (Introductory) Programming Fundamentals Quickstart

1. Introduction to Computers and C: Test-Driving Microsoft Visual Studio, Apple Xcode, GNU gcc, and GNU gcc in a Docker container
2. Intro to C Programming: Input, Output, Types, Arithmetic, Decision Making
3. Structured Program Development: Algorithmic Development, Problem Solving, if, if/else, while
4. Program Control: for, do/while, switch, break, continue, Logical Operators
5. Functions: Custom Functions, Simulation, Random-Number Generation, Enumerations, Function Call and Return Mechanism, Recursion, Recursive Factorial, Recursive Fibonacci

PART 2: (Intermediate) Arrays, Pointers, and Strings

6. Arrays: One- and Two-Dimensional Arrays, Passing Arrays to Functions, Searching, Sorting
7. Pointers: Pointers operators & and •, Pass-By-Value vs. Pass-By-Reference, Array and Pointer Relationship
8. Characters and Strings: C Standard Library String- and Character-Processing Functions

PART 3: (Intermediate) Formatted Input/Output, Structures, and File Processing

9. Formatted Input/Output: scanf and printf formatting
10. Structures, Unions, Bit Manipulation and Enumerations: Creating Custom Types with structs and unions, Bitwise Operators, Named Constants
11. File Processing: Streams, Text and Binary Files, CSV Files, Sequential and Random-Access Files

PART 4: (Advanced) Algorithms and Data Structures

12. Data Structures: Dynamic Memory Allocation and Deallocation, Lists, Stacks, Queues, Binary Trees
13. Computer-Science Thinking: Sorting Algorithms and Big O Insertion Sort, Selection Sort, Merge Sort, Additional Algorithms including Quicksort in the Exercises

PART 5: (Advanced) Preprocessor and Other Topics

14. Preprocessor: #include, Conditional Compilation, Macros with Arguments, Assertions
15. Other Topics: Variable-Length Argument Lists, Command-line Arguments, Multiple-Source-Pile Programs, extern, exit/atexit, calloc/realloc, goto, Numeric Literal Suffixes, Signal Handling

Appendices
Operator Precedence Chart
ASCII Character Set
Number Systems
Multithreading/Multicore and other C18/C11/C99 Topics
Intro to Object-Oriented Programming Concepts

Online Appendices
F-H. Using the Visual Studio Debugger, Using the GNU gdb Debugger, and Using the Xcode Debugger

Case Studies

System Programming Case Studies
Systems Software: Building Your Own Computer
Systems Software: Building Your Own Compiler
Embedded Systems Programming: Robotics with the Webots Simulator
Performance with Multithreading and Multicore Systems

Applications Programming Case Studies
Random-Number Simulation: Building a Casino Game
Random-Number Simulation: Card Shuffling and Dealing
Random-Number Simulation: The Tortoise and the Hare Race
Intro to Data Science: Survey Data Analysis
Direct-Access File Processing: Transaction-Processing System
Visualizing a Sorting Algorithm: Merge Sort
Artificial Intelligence/Data Science: NLP: Who Wrote Shakespeare's Works?
Artificial Intelligence/Data Science: Machine Learning with the GNU Scientific Library
Game Programming: SpotOn Game with the raylib Library
Game Programming: Cannon Game with the raylib Library
Security and Cryptography: Implementing a Vigenère Cipher
Visualization with gnuplot: Law of Large Numbers Animation
Web Services and the Cloud: libcurl and OpenWeatherMap

Your questions answered

Introducing Pearson+. Reimagined learning, designed for you. Choose from one eText or over 1,500 eTexts and study tools, all in one place, for one low monthly subscription. A new way to buy books that fits your budget. Make the most of your study time with offline access, enhanced search, notes and flashcards — to get organized, get the work done quicker and get results. Plus, with the app, put textbooks in your pocket and learn wherever. It's time to upgrade the textbook and simplify learning, so you can have time to live too.

Pearson eText is an easy-to-use digital textbook available from Pearson+. Make it your own by adding notes and highlights. Download the Pearson+ mobile app to learn on the go, even offline. Listen on the go with our new audiobook feature, available for most titles.

When you choose a plan, you're signing up for a 4-month term. We will charge your payment method each month until your 4-month term has ended. After that, we'll automatically renew your subscription and charge you on a month-to-month basis unless you turn off auto-renewal in My account.

When you purchase a Pearson+ subscription, it will last a minimum of 4 months, and then automatically renew each month thereafter unless you turn off auto-renew in My account.

If you want to stop your subscription at the end of your 4-month term, simply turn off auto-renew from My account. To avoid the next payment charge, make sure you turn auto renewal off 1 day before the auto renewal date.

You can subscribe again after auto-renew has been turned off by purchasing another Pearson+ subscription.

We use your credit card to renew your subscription automatically. To make sure your learning is uninterrupted, please check your card details before your first monthly payment.

With a Multi Pearson+ subscription plan, you can download up to 5 titles on the Pearson+ app from My list on each of your authorized devices every month.

When you're using your Multi Pearson+ subscription plan in a browser, you can select and read from as many titles as you like.