Some basic C

If you are unfamiliar with the C programming language, we have provided some examples to get you started. They assume familiarity with another programming language like java and their main purpose is to highlight some differences between the languages. Copy the files from ~aca319/labs/c to your directory. Have a look at them. Then try to compile and execute them one by one to see what they do. Go through the source and put some comments in for yourself. To get you started here is a brief describtion:

For more information on C I recommend you check out this place This should be fairly thorough as it is based on the C bible ("The C programming Language" by K&R, the creators of the language). If you want something else do a net search, read a book etc.

Last modified on Mon Mar 18 20:13:15 WST 2002