CS255 - Fall 2009: References

The C Programming Language

[added 8/31]: CodePad is a site that lets you paste or type in C code, compile it, and see the output within your browser. It then gives you a URL you can use to share the code with others. It could be a good tool for sending code to an instructor or TA via email, as he or she will not have to download and compile the code to help you. It supports several languages beyond C as well.

Tutorials

You all know Java or C++ already (if I'm wrong about that, let me know), so any "how to program" tutorial is not well targeted for you. Unfortunately, perhaps because C has historically been a first language, I don't know of any C tutorials for people who already know how to program. The "how to program [in C]" tutorials will have to do. Fortunately, it is easy enough to run through the concepts you already know (program control, conditionals, loops), picking up the syntax changes as you go, without wasting much time.

I recommend first quickly skimming over all of the tutorials to get a sense of their styles and the sequence of topics covered in each. Then, start with the first or second tutorial in the list (they get directly into coding the fastest), and refer to or switch over entirely to other tutorials as you go.

Reference

Unix and the Command Line

There are many "flavors" of Unix. OS X is one; Linux (like on sun.iwu.edu) is another. They all share common commands and utilities, though, so a tutorial written for one is often applicable to the others.

I would recommend going through all of these, actually. As you learn, you'll become more and more comfortable with the shell, and the second tutorial will fly past, so it shouldn't take too long.