FAS Computer Services to Harvard University IT: (617) 495-7777.
C is a powerful and popular programming language. Its
strength are speed, good reliable libraries and good compilers.
Other reasons to learn C are that Unix
is based essentially on C and the fact that it is has become a
prototype for other languagues like javascript, java, octave and
others. Check out
/usr/local/opt/SUNWspro/WS6/lib/locale/C/html/index.html#manuals
for local documentation in C on the Solaris machines.
A Gnu Compiler
manual.
|
|
Our "hallo world" example is julia1.c
which produces pictures of julia sets. A more sophisticated version
julia2.c allows to use color maps.
A further improvement allowing input is
julia3.c . The simple example
shellscripts as zoom.sh"
produced the movie to the left.
The examples with Makefile can be downloaded as a
gziped tar ball . Untar it as 'tar -xzf examples.tgz', go to the
directory examples 'cd exmples' and run 'make'.
|
Good books on C are (status 2000)
- Kernighan and Pike, The Unix Programming environment.
- Kernighan and Pike, The Practice of programming
- K.N. King, C Programming
|