CS1044: Programming with C++

Virginia Tech Computer Science Department
Tom Plunkett
tplunket@csgrad.cs.vt.edu

Team Assignment #3: Create a Software Program

Overview: Our customer has money to spend and wants a program ASAP

Requirements (Arrays, File I/O, Flow of Control)

1)The customer wants the program to read in data from a file into an array. The program will prompt the customer to enter the name of the file and the type of data in the file (int, char, doubles). The file will have a maximum of fifty elements.

2)Once the data is in the array, it will be sorted by the program, from least to greatest (or a to z with respect to the char type). (You can make the arrays size 50).

3) The program will then prompt the user for the name of the output file, and write the sorted output to the file.

4) Deliverables to be submitted include: source code file and testcase files (both input & output).

5) Please insert all appropriate comments into your source code.

6) You should exchange email addresses with your fellow team members and be prepared to work on this project again next week (whether or not you work on it in between weeks is up to you).

7) There are several programs in chapter 9 that may be helpful.