Make sure your program compiles and runs under unix/linux --------------------------------------------------------- Steps: 1. Download the "UWICK Applications" from the link off the coursE HOMe page if you don't already have it. (I will assume you know where all your .cpp and .h files are under windows.) 2. Set up a profile so you can open a "New File Transfer Window". o Under "Start" --> "Programs" --> "Connectivity Tools" --> "UWICK Applications" --> "SSH Secure FTP" --> "Secure FTP" o Click on the "Profiles" icon/button (which is under the toolbar) o Choose "Add Profile" and name it something meaningful, e.g., uw1-320 o Then choose "Edit Profiles" and click on the new profile "uw1-320" o Enter "uw1-320-lab.uwb.edu" for Host name and enter your UWNetID user name for User name (and click OK to save) 3. Now logon. o Under "Profiles", click on the new "uw1-320" profile o Enter your UWNetID password. (It'll assign you a machine between 17 and 31.) Old versions of FTP leave the sftp window open and from your sftp window, you need to open a "new Terminal Window" (on the toolbar or you can also use the "Window" menu). Newer versions give you a terminal window after you log in and you must open a "new File Transfer Window" (on the toolbar). The "Transfer Window" shows your "Local" files (the pc) on the left and your "Remote" files (the linux machine) on the right. (Initially you won't have any files on the linux so it'll be blank.) With the "Terminal Window" you will see a prompt and a cursor. 4. Whichever is open, open the other so you have both a terminal window and file transfer window open. 5. Drag and drop your .cpp and .h files from the "Local" window to the "Remote" File Transfer window. Or drag a folder (called a directory in unix) with your files. 6. Do an "ls" command (list files) in the terminal window at the prompt to be sure your files transferred. 7. a. If you only dragged a file, say lab1.cpp, then compile using g++: g++ lab1.cpp b. If you dragged a folder, first cd (change directory to that directory), say Lab1: cd Lab1 Then compile using g++: g++ lab2.cpp intset.cpp 8. If you get errors, edit on your local machine and upload again. Don't worry about some warnings, especially an incomplete last line. Windows and unix store files differently. Pay attention to other warnings as they usually mean something is wrong. (Note that the "Delete" key may act as "Backspace".) 9. Continue to edit and compile until you get the prompt which means you have no errors. 10. Do an "ls" again; there should be a file called a.out. 11. To execute, enter: ./a.out