The C/Unix Programmer's Guide


AIX BEOS DesktopBSD FreeBSD Gentoo Linux Mac OS X
NetBSD OpenBSD PC-BSD QNX Solaris Ubuntu

Table of Contents

General
Detailed

Updates

Addendum
New Developments

Want to know more?

Some additional information about the book is available here.

Program source

The source code for all major program examples in the book is available as a tar ball. A script for compiling the programs is included. Download

Available at...

Amazon.com

Libraries

To order a copy for your library, please visit Coutts Library Service.

Table of Contents in Brief

Contents

1  Introduction                                            1

Part I  Introduction to Computers and Unix

2  Binary Information Systems                             21
3  Hardware and Software                                  41
4  Unix Overview                                          55

Part II  Programming in C

5  Getting Started with C and Unix                        97
6  Data Types                                            113
7  Simple Input and Output                               133
8  C Statements and Expressions                          155
9  Decisions with if and switch                          175
10 Repetition: Loops                                     199
11 Functions                                             217
12 Programming with make                                 255
13 The C Preprocessor: cpp                               261
14 Pointers                                              285
15 Arrays and Strings                                    299
16 Dynamic Memory Allocation                             333
17 Advanced: Function Pointers                           361
18 Structures and Unions                                 367
19 Debugging                                             407

Part III  Unix Library Functions and their Use

20 Building Object Code Libraries                        425
21 Files and File Streams                                431
22 String and Character Functions                        463
23 Odds and Ends                                         485
24 Working with the Unix File-system                     505
25 Low-Level I/O                                         513
26 Controlling I/O Device Drivers                        533
27 Unix Processes                                        543
28 Interprocess Communication (IPC)                      559
29 Unix Graphics: X Windows                              595

Part IV  The C++ Programming Language

30 Introduction to C++                                   613