Department of Engineering
University of Cambridge
>
Engineering Department
>
computing help
Next:
List of Figures
Up:
ANSI C for Programmers
Previous:
ANSI C for Programmers
Contents
List of Figures
Introduction
Compilation Stages
Variables and Literals
Aggregates
Constructions
Exercises 1
Contractions
Functions
Pointers
Strings
Exercises 2
Keywords, Operators and Declarations
Keywords
Operators
Declarations
Memory Allocation
Input/Output
File I/O under Unix
Interactive
Source File organisation
Preprocesser Facilities
Multiple Source Files
Make
Debugging
Utilities and routines
Some Common mistakes
Exercises 3
More information
Examples
Command Line arguments
Using qsort, random numbers and the clock
Calling other programs
Linked Lists
Using pointers instead of arrays
A data filter
Reading Directories
Calling fortan NAG library routines
Queens: recursion and bit arithmetic
More on Arrays, Pointers and Malloc
Multidimensional Arrays
realloc
Signals and error handling
ANSI C
Converting to ANSI C
Maths
Fortran and C
Calling Fortran from C
HP compiler
Updating this document
Sample answers to exercises
Exercises 1
Exercises 2
Exercises 3
Bibliography
List of Demo Programs
Program
Page
Description
basics.c
basics
strings.c
strings
array.c
2D arrays
mallocing.c
malloc
files.c
file i/o
line_nums.c
filter
Tim Love 2010-04-27