More than Hello World Assignment

More than Hello World Assignment -...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment:  Program 1: More than Hello World   Assignment Information Maximum grade: 100   Due date: February 18, 2008 Instructions: You will find programming assignment 1 on the  CIS 121 Class Website . Do everything in the  Design  and Implementation Assignment 1 . Use the UNIX "script" command to capture your testing of each  program into files named  gallons.txt, moregallons.txt, and season.txt.  Upload all 6 files (the 3 .cpp files  and the 3 .txt files) and then submit them via WebCT. Assignment files: None   Submissions: You can only submit your assignment once. No re-submission is permitted. Notification: The instructor will not be notified via email when you submit this assignment. Translation to C++ This assignment is to provide practice in translating pseudocode to C++. There are three problems. In each case, you are given the pseudocode of algorithms that you have previously seen, and you are expected to produce the C++ programs and to test your program thoroughly. Getting Started First, you need to make a directory to place all of your assignments. This directory will be called cis121 and will be located in your home directory. If you have not done this, then do the following 2 steps. If you have it, then skip these 2 commands: % cd % mkdir cis121 Now you will make a subdirectory of cis121 called prog1 . This is where you will put all of the C++ programs for assignment #1. Do the following: % cd cis121 % mkdir prog1 % cd prog1 Now you are ready to start. You will need to use xcoral to edit your programs and g++ to compile your programs. If you have forgotten how to do this, refer to lab where editing and compiling were covered (Intro to C++ lab). These first few steps should be used in all of your
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern