that list has 5 components ( list-list )
myList has 11 components ( myList - myList )
and yourList has 14 components (yourList[-5] - yourlist ).
It then wants me to write a program to test the class.
I am not sure if it wants me to use list, myList, or yourList stated above in the program either so I was confused about that.
I don't want this done for me, I just need a little help here and there, usually when the ball starts rolling, I can handle it, but this time I started with an error already than I can't figure out, so maybe some prying eyes can help me out! Here's what I have, keep in mind this is just incomplete code just to get something to get it compiling.
Thanks for the input, it compiles beautifully now, time to get started! I will post back if I have any issues, I am not sure how I am going to attempt to complete the program but I have to do a little reading before hand and see what I can come up with and I will post my progress. Thanks so much!
Just a little suggestion, the exercise sample arrays suggest your class should be a template, so i say you start with a template class from the beginning, so the code should look something like:
//...other c-tors - since you will need the "offset" if any
//don't forget the copy c-tor and assignment operator
//since you will have a pointer and you need to correctly copy the data