In the labs you will solve C/C++ programming problems in a UNIX programming environment resembling the one installed in the UNIX labs CSC 153/159 (computers uf02..uf25.cs.ualberta.ca, ug02..ug34.cs.ualberta.ca)
Important: for this course you need to have access to a computer with reliable internet connection (ethernet preferred), video camera, microphone, and speakers (or headset) during all synchronous lecture and lab sessions
To setup a suitable software environment on your computer there are a few options:
A quick UofA tailored installation guide can be found here
For Lab 0 *all* students must install, configure, and test the X2Go client on their computer. This will allow you to participate in subsequent labs even if you run into issues with alternative installations!
For a final test prior to submitting your work on eClass, if you are using X2Go (which you installed and configured prior to Lab 0 ...), just compile and run your programs
If you are not using X2Go, you should copy your source code to a lab computer using scp, log in using ssh, and compile and run your code to ensure there are no errors or warnings, and that it actually works - like so:
me=my-ccid@ug??.cs.ualberta.ca # e.g., r2d2@ug21.cs.ualberta.ca scp test.cpp $me: ssh $me g++ -Wall -Wextra test.cpp ./a.out
To test your setup, download hello.c and makefile and issue "make" in the directory you saved the files to
This should create file "hello" which you should be able to run by issuing "./hello"