Question: Class Using a Fixed - Sized Array ( Chapter 3 ) Modified from projects of Chapter 3 at www . cs . colorado.edu / main
Class Using a FixedSized Array
Chapter
Modified from projects of Chapter at
wwwcscolorado.edu mainprojects of Data Structures and Other Objects Using C by Michael Main and Walter Savitch
The Assignment:
You will implement and test the sequence class using an array to store the sequence's items.
give me codes of h and cpp to turn in
Purposes:
Ensure that you can write a small class that uses an array as a private member variable. Familiarize yourself with the sequence container class which may also be part of future assignments
Give us a chance to evaluate your programming skills on a small class.
Before Starting:
Read all of Chapter
How to Turn In:
Drop your file in Canvas Assignments Files that you must write and turn in:
sequence : The header file for the sequence class. Actually, you don't have to write much of this file. Decide on appropriate private member variables, and declare these in the sequence class definition at the bottom of the header file. If some of your member functions are implemented as inline functions, then you may put those implementations in this file too.
sequencecpp: The implementation file for this first sequence class. You will write all of this file, which will have the implementations of all the sequence's member functions.
Other files that you may find helpful:
sequencetest.cpp: A simple interactive test program.
sequence exam.cop: A noninteractive test
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
