Next:
Programming in C
Up:
The CCATSL Software Library
Previous:
Historical Introduction
Index
Contents
Programming in C
Introduction
Some examples
Variables
Declarations and scope
Automatic conversions and casts
Storage-class specifiers (advanced)
Types
Numerical types
The char type
Arrays and Strings
Logical expressions
Pointers
Structures
Enumerated types
The void type
Function pointers (advanced)
Type qualifiers (advanced)
Unions and bitfields (advanced)
typedef (advanced)
Associativity and precedence of operators
Control Structures
if
while
do
for
switch
The break, continue and goto statements
Shorthands
Declaring and using functions
Introduction
Pass by value and pass by reference
Calling functions defined anywhere in your program: prototypes
Passing arrays, structs and functions as arguments to a function
Some hilights of the standard C library
Mathematical functions
String functions
Reading and Writing: the screen and keyboard
Reading and Writing: disk files
Miscellaneous
Preprocessor directives
Mathematical functions
Ordinary Differential Equations
Integration
Matrix routines
Special functions
FFT and Fast Fourier Sine Transform
Poisson solver, PoissonCL
Minimisation and root-finding
Spline interpolation
Plotting graphs
Two-dimensional data
Three-dimensional data
Customising your graph
Changing where your graph appears
Changing its appearance
Graph Decorations
Drawing graphs line by line
Printing out graphs
Using CCATSL Windows
Basic CCATSL window routines
Writing in a window
Changing the appearance of text: colours and fonts
The message, status and error windows
Printing it out
Getting input from the user
Entering variables
Menus
Entering and Editing arrays
The Escape key
Miscellaneous CCATSL routines
Graphics
Windows, Menus and dialog boxes
Time
Disk files
Random Numbers
Miscellaneous
CCATSL variables, types and constants
Mathematical Functions
Graphics
Miscellaneous
Index
CATAM admin 2010-02-23