First Program

Lab Assignment

  1. Study Eclipse Concepts and Working with Projects.
  2. Create a project titled Lab1_FirstProgram add source file titled firstProgram.cpp to the project.
  3. Enter the following code in the source file:

    Specify appropriate name and date. Your grades are going to be listed under your pseudonym together with the rest of the students. This way you will always be able to see how you are doing in class but will not be able to recognize other students. Select an arbitrary one-word pseudonym and put it in the program. If you do not wish to have your grade listed in this manner, leave the word PSEUDONYM intact or state NO PSEUDONYM.

    Note:You cannot cut-and-paste the source code, you have to manually enter it into the source file.

  4. Build, debug, and run your project.
  5. From the email account of your choice, sign up to the class' mailing list here. A confirmation message will be sent to your account. You will have to reply to this message, confirming that you stated your email address correctly. In response, you will be sent a welcome message. Add file welcome.txt to your project. Copy (cut-and-paste is okay) the contents of the message to this file. This file will serve as a proof of your successful subscription to the mailing list.
  6. Study Subversion instructions.
  7. Submit your project and verify your submission on the web. To verify your project submission, in a web-browser, type in the URL that you used for subversion. The browser will also prompt you for the login name/password. Use the same ones as for subversion. It will show you your submission as a webpage. Click on individual files to make sure that the contents of the files is correct.
  8. Study Eclipse home installation instructions here and set up Eclipse at home. To verify the correctness of home installation, check out your submitted projects, compile and run it, and then check it back in.