Part III. Advanced Programming Concepts

In this part we explore the advanced features of C as well as advanced programming tasks such as modular programming and program porting. Finally we explore little-used features such as the ancient K&R C syntax and some of C’s darker corners.

Chapter 17 describes advanced uses of pointers for constructing dynamic structures such as linked lists and trees.

Chapter 18 shows how to split a program into several files and use modular programming techniques. The make utility is explained in more detail.

Chapter 19 describes the old, pre-ANSI C language. Although such compilers are rare today, a lot of code was written for them and there are still a large number of programs out there that use the old syntax.

Chapter 20 describes the problems that can occur when you port a program (move it from one machine to another).

Chapter 21 describes the do/while statement, the comma operator, and the ? and : operators.

Chapter 22 details the steps necessary to take a complex program from conception to completion. Information-hiding and modular programming techniques are emphasized.

Chapter 23 lists some programming adages that will help you construct good C programs.

Get Practical C Programming, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.