More than Hello World Assignment

More than Hello World Assignment -...

Info iconThis 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
Background image of page 1

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

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

This document was uploaded on 05/01/2011.

Page1 / 4

More than Hello World Assignment -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online