CISC181 9am 02/11/05 (1) Go over the Farenheit to Celsius program at: http://udel.edu/~pconrad/cisc181/05S/work/labs/lab01/lab01b.cc (2) Compling on strauss ">" means the Unix prompt Show how to compile this with just > CC lab01b.cc > ./a.out Show same result with just g++ and then running a.out > g++ lab01b.cc > ./a.out Show that we can rename to lab01b.cpp and it doesn't matter. > mv lab01b.cc lab01b.cpp > g++ lab01b.cpp > ./a.out Show that we can name the executable something else with the -o switch: > g++ lab01b.cpp -o lab01b > ./lab01b You need the . if "." is not in your path > ./lab01b You don't need the . if "." is in your path > lab01b How do we know if . is in the path? > echo $PATH How do we change our path (under csh or tcsh) ? What is csh or tcsh? emacs ~/.cshrc emacs ~/.localenv Using the "which" command to know where the compiler is coming from.