What's a Checklist?

The programming assignments in the course packet specify the general programming assignment. The checklists contain supplemental information, and you are expected to read it prior to submitting your work. Some examples include:

  • Links to any preliminary code. That way, you don't have to retype it yourself.

  • References solutions. Use these to check your work.

  • What to include in your readme file and a template readme file.

  • A link to hints. Novice programmers may find these especially valuable to get started on the assignment.

  • Goals

    Regardless of the operating system that you choose, the goal of Assignment 0 is to make sure that you can:

  • Surf the Web.

  • Write a C program using a text editor specifically designed for writing code, e.g., emacs, lcc-win32, or BBEdit.

  • Compile a C program using an ANSI C compiler, e.g., gcc126 or lcc126.

  • Submit your assignment electronically using courseinfo.cs.princeton.edu.
  • Be sure to submit Assignment 0. If you don't, the rest of your assignments will not get graded. Note that it is not necessary to submit a readme file for this assignment only. Part of this assignment is to fill out the questionnaire on the Announcements page.


    Understanding hello.c

  • Here's a Hello World tutorial that dissects hello.c line-by-line.

  • Bring any remaining "Hello World" questions to the first precept.

  • Some friendly advice from your preceptor: if you're new to C, be sure to read the first few chapters of the King book today. Then read up through Chapter 6 by Monday. If you don't understand something, go to your preceptor for assistance. Don't be bashful or put it off. This is a lot of material to digest, but getting off to a good start in COS 126 will save you lots of energy in the long run.


  • Enrichment Links

    Here's the ACM Hello World Page. It contains everyone's first program in over 200 programming languages.


    Kevin Wayne