Book Image

Extreme C

By : Kamran Amini
5 (1)
Book Image

Extreme C

5 (1)
By: Kamran Amini

Overview of this book

There’s a lot more to C than knowing the language syntax. The industry looks for developers with a rigorous, scientific understanding of the principles and practices. Extreme C will teach you to use C’s advanced low-level power to write effective, efficient systems. This intensive, practical guide will help you become an expert C programmer. Building on your existing C knowledge, you will master preprocessor directives, macros, conditional compilation, pointers, and much more. You will gain new insight into algorithm design, functions, and structures. You will discover how C helps you squeeze maximum performance out of critical, resource-constrained applications. C still plays a critical role in 21st-century programming, remaining the core language for precision engineering, aviations, space research, and more. This book shows how C works with Unix, how to implement OO principles in C, and fully covers multi-processing. In Extreme C, Amini encourages you to think, question, apply, and experiment for yourself. The book is essential for anybody who wants to take their C to the next level.
Table of Contents (23 chapters)

Obtaining the necessary materials

Since this chapter is full of sources from five different programming languages, and my hope is to have you all able to build and run the examples, I dedicated this section to going through some basic notes that you should be aware of regarding building the source code.

First of all, you need to obtain the chapter material. As you should know by now, the book has a repository in which this chapter has a specific directory named ch21-integration-with-other-languages. The following commands show you how to clone the repository and change to the chapter's root directory:

$ git clone
$ cd Extreme-C/ch21-integration-with-other-languages

Shell Code 21-1: Cloning the book's GitHub repository and changing to the chapter's root directory

Regarding the shell boxes in this chapter, we assume that before executing the commands in a shell box, we are located in the root of the chapter...