FAQ for cmps012a

what is a FAQ?
FAQ stands for Frequently Asked Questions. A FAQ is a document that tries to address these questions so that everyone can get at them quickly.
What is the newsgroup for this course?
ucsc.class.cmps012a
What about submit and bind_locker? Is there anything I need to do to submit?
You do not need to use bind_locker. to submit, type submit lockername assignment file1 file2

The lockername is cmps012a, the assignment is hw3, or hw followed by whatever the current number of assignment is.

There have been some problems with submit. If it is not working, Log onto one of the main cats machines: si, am, or ese, and try submitting from there.

What are the switches for gcc?
Use gcc -Wall -ansi -D__USE_FIXED_PROTOTYPES__ -o src_code.c -lm

The -lm is needed when you include math.h. It is last because it is done at the linking stage, and is predicated on the object files.

Where are the samples of code from class?
Look under "Class Code"--from the main web page.
It includes the Quadrant example from class.

Allison Coates
Last modified: Tue Mar 30 15:20:14 PST 1999