CSE 109 HW 2 Due 10:45 PM Thursday 26 January 2012 This is an exercise in writing, editing, compiling, and running a simple C++ program. Start this assignment by creating the subdirectory hw2 in your subdirectory cse109.121. Then copy the files /proj/csc109/hw2/hw2.cc and /proj/csc109/hw2/Makefile to your directory cse109.121/hw2, giving them the same names, hw2.cc and Makefile. I will explain the purpose of the file Makefile in a few lectures. Use emacs to edit the file hw2.cc, providing the declarations (above main()) and definitions (code, below main()) of the functions called in main(). The program has the purpose of reading in a list of ints, saving only those ints that are not duplicates, and then displaying the list in the same order. For example, the input 2 3 1 2 4 5 5 3 2 should lead to the output 2 3 1 4 5. Notes: 1) This homework, like all homeworks and unlike "programming assignments," will only be collected once. 2) You should document your program by stating your name, the course, the assignment number, and the date at the top. You should explain the purpose of the program. The file Makefile uses the pound sign (#) for documentation. Replace "PUT YOUR NAME HERE" with your name, leaving the pound sign (#) in that line in place. 3) You are not allowed to declare "global variables." All variables that you declare must be declared in some function. 4) Do not change the contents of main() in any way.