You will need to use ssh to connect to newcunix.cc.columbia.edu as described in the first class session. You can find information on CUNIX accounts here and here and and you can find a list of ssh programs here.
On your CUNIX account you will need to create a directory for you homework assignment. You can do this by running a command such as:
mkdir hw1
Change into this directory (by running cd hw1) and create your programs here. You can edit your programs with any of the available editors (emacs, vi, pico), emacs is recommended. You may want to consult the quick guide to UNIX and the quick guide to Emacs if you run into any problems.
Your programs should all have the extension ".cc". Use g++ as the compiler for this homework, if you prefer to use CC you may do so, but be sure to note this in your README. You should compile your programs with the following command:
g++ -Wall program.cc
The -Wall forces display of warnings in addition to errors. This will generate an executable named a.out. If you want your executable to be named something else, run something like this:
g++ -Wall program.cc -o program
The -o option allows you to specify the name of the executable. To run your programs you will likely have to run them like this:
./a.out
or
./program
since the current directory isn't by default included in your PATH (and shouldn't ever be unless you like having hackers take over your machine).