For CMPT 102, you have access to the Open Computing Science Instructional Lab (Open CSIL), room ASB 9840. This room is In the Applied Science Building, near the stairs in the atrium.
In order to use this lab, you must fill out an "Academic and Computing Ethics" form before you can use these computers. You can fill this form out in first few lectures or in the Computing Science main office (ASB 9971).
You can also connect to these machines over the internet. You should use a secure connection--see the software section below for info on how to do this. You can also use an insecure telnet connection if you must. From off-campus, you first must connect to fraser.sfu.ca and then telnet to one of the machines listed here.
Since we're going to be programming in C, you'll need a C compiler. If you're using the computers in the lab (either directly or over the Internet), you should use the gcc
command.
If you want to work at home on a Windows machine, you should probably use Cygwin. This set of programs provides a very Unix-like environment for DOS/Windows.
You could also try DJGPP which is a C/C++ compiler for DOS/Windows that closely matches the gcc
/Unix system.
You could also use another C environment, like VisualC, but these will be very different from the system in the lab, so things might not work the same.
Remember that your assignment will be marked using the tools available on the computers in the lab. Your program must work on it.
C programs are just text files, so you'll need a text editor to create them.
In the lab, you can use the emacs
editor. It might take a little getting used to, but it's worth it.
If you are connecting remotely, you can use emacs
in a terminal.
At home on a Windows machine, you can get Emacs for Windows or use another editor like Zeus for Windows or the Programmer's File Editor
If you want to connect to one of the on-campus computers from home, instructions are available.