All of the work in this project is my own!  I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this project to others taking this class. I realize that the penalty for turning in work that is not my own can range from an "F" in the class to dismissal from Trinity University. 

                                    Print Title  ______________________________________    Time Required = ______.____ Hrs.

                                    Signature   ______________________________________    (pledged)
 


   Dynamic Template Stack II Lab
Individual Assignment
15 Points



1]  Copy Stack-1-Tom-Hicksto  Stack-2-Tom-Hicks.  Use your name. Begin with the code below.

2]  Complete all of the diagnostic levels. Write the copy constructor, the resize, and the overload of the = operator.

3]  Most of  the testing is done for you, but not all. You will have a number of blocks of code to insert, such as the one below. Follow the directions and write the specified test code.

//////////////////////////////////////////////////////////////////
//       Add Your Own Test Code Below To Do The Following!      //
//////////////////////////////////////////////////////////////////
// Create an Athlete array, called Athletes, which would hold 11//
// athlete records.  Use your Set function to fill all 11 with  //
// Name, No,  SportNo, and Equipment Value. Make up realistic   //
// data.                                                        //
//////////////////////////////////////////////////////////////////

4]  Complete all of the functions in diagnostic levels 1-11 (continue to 9&10) if you have spent less than 7 hours working on this lab) and examine all of the testing carefully. Write the code professionally.

5] Push should eventually begin with something like:

if (Full())
    if (!Resize(10%))
        return (UNSUCCESSFUL);

6]] Set the Diagnostic Level to 9.  Create a copy of the program output.

Open up a Command Prompt Window [Using the mouse, hold down the start button and select Run - enter cmd]

Enter the following into the command window
C:
CD \Temp\Stack-Tom-Hicks\Debug
Project > Output.txt

7] Open Output.txt with Visual Studio. Print it using Visual Studio!

8] Open Stack.cpp with Visual Studio. Print it using Visual Studio!

9] Exit Visual Studio. Copy this folder to your Y drive. Copy this folder to your personal computer. Copy this folder to you thumb drive.


10] Those Labs labeled "Individual Assignment" are to be done separately by each individual. Using a pen,  each individual is to print  his/her name at the top of this document in the space provided and sign it.  Those Labs labeled "Team Assignment" may be done as a team or individually. Using a pen,  each individual on the team is to print print his/her name at the top of this document in the space provided and sign it. Submit only one copy of team assignments!


Turn In The Following:

A] Copy of first page of this lab assignment sheet. Using an ink pen, print your name and sign this lab at the top.

B] Staple signed assignment sheet, Output.txt  and Stack.hpp, [in this order!]

C] Nothing will be graded until this lab form is submitted.  Staple the pages. Fold the lab Horizontally (like a hot dog) and write your name nice and large on the outside.  Place it on the professor desk before the beginning of lecture on the day it is due. All assignments are due the next class period unless otherwise designated on the schedule page.