liveBook · Manning

Chapter 1: Getting started

What you will learn in chapter 1 of Modern C, Third Edition

This introduction frames C programming as giving a computer instructions to carry out specific tasks.

After this chapter you will be able to

Section by section

Introduction

This introduction frames C programming as giving a computer instructions to carry out specific tasks.

Key terms: C program, imperative programming

1.1 Imperative programming

The section introduces C as a way to give a computer instructions and uses a printf call to show how a program produces formatted terminal output.

Key terms: imperative programming language, orders, statement, call, function, printf, arguments, string literal

1.2 Compiling and running

This section explains how C source text becomes an executable, why portability requires care, and how compiler diagnostics help identify flawed programs.

Key terms: compiler, binary code, executable, platform, portable, c17, -Wall, -o, source file, diagnostic

1.3 Summary

Where this is used later

Concepts explained in this chapter

Chapter 2: The principal structure of a program →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.