This documents instructs you on how to setup a C programming environment for your Windows 2000 computer. Windows 95, 98, and NT will only be moderately different. The instructions will deal with configuring one of the laptops purchased through SCI, although if you bought your own equipment you should be able to adapt the instructions below. All of the software below is either (i) shipped with your SCI computer, (ii) licensed by Princeton and can be downloaded for free, or (iii) freeware.
|
|
In this step, you will customize the lcc compiler to use strict ANSI C code, and enable extra warning messages. Novice and veteran programmers will both benefit from using this customized version of lcc, which we'll name lcc126. It will also help ensure that your code matches the assignment requirements. To setup lcc126, do the following:
lc -a -ansi89 -unused %1 %2 %3 %4 %5 %6 %7 %8 %9
c:\lcc\bin\lcc126.bat
|
Ghostscript is a program that allows you to view PostScript files using GSView. You will need such a program when we create graphics, starting in Assignment 2.
Install Ghostview first, then GSView.http://www.cs.wisc.edu/~ghost/doc/AFPL/get700.htm
|
Acrobat Reader allows you to view pdf files. Many of the documents on our Web site are in this format. If you bought your computer from SCI, you probably have the Acrobat installed.
|
SSH is an FTP client that allows you to transfer files to and
from your computer. In addition, it provides telnet
capabilities
that allow you to login to a remote system such as arizona
.
On many assignments we provide various sample code and data files which you
will probably want to download.
|
Microsoft Powerpoint Viewer 97 is a viewer that opens
.ppt
files. If you have MS Office, you don't
need this viewer. Otherwise, we recommended installing the viewer
so that you can access some of the in-class demos.
|
Depending on your personal choice, you may be required to compile Java applets for your last two assignments. One of the most popular free Java compile/IDE available is Borland's JBuilder.