Using Your Account
Start by reading this:
Cover letter
It contains much useful information on using your account.
Quick Start:
Getting your source code files onto the system:
First things first -- back up your files. If you make a mistake in this step,
you might overwrite your files. Run 'ftp' on your machine, and connect to the
host 'ftp.eng.utah.edu'. Use your username and password to log in. Use the
ftp command 'lcd' to change the directory on your local machine to point to
where you keep your source code files. Use the ftp command 'cd' to change the
directory on the University of Utah machine, if neccessary. (It should
already be set up pointing to your home directory.) Use the ftp command
'ascii' to tell ftp to transfer a text file. Use the command 'send', followed
by a filename, to transfer a file from your system to the University system.
When done, just quit your ftp program.
Compiling and running your file(s):
Assume that you have modified the skeleton.cpp file, and you have called it
'math.cpp'. To compile it, type 'g++ -o math math.cpp'. If you do not get
any errors, a file called 'math' will have been created. This is your
executable program.
Editing:
A program called 'emacs' is available for editing your files. Type 'emacs '
followed by the name of the file you wish to edit. To save your work, press
control-x followed by control-s. To exit emacs, press control-x followed by
control-c. If you get emacs into a funny mode by accident, press control-g a
few times to cancel out. Information on how to use emacs can be found in the
Unix tutorial referred to in the cover letter referred to above.