CMPUT 201 Hardware/Software Requirements

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:

Important: Submitted lab and assignment solutions will be evaluated on lab computers. This means that your programs can only contain standard C or C++ code. Also, if you choose any other software environment than X2Go then we won't be able to resolve any issues you might encounter

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"