Department of Mathematics FAS Harvard University One Oxford Street Cambridge MA 02138 USA Tel: (617) 495-2171 Fax: (617) 495-5132
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.
example 
output from shellscript
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


Simplicity, Clarity, Generality B.W. Kernighan, R. Pike, in "The Practice of Programming".
Privacy Digital Accessibility
HTML CSS