Topical Information

The purpose of this project is to test your ability to use templates, dynamic memory (mixed with classes), operator overloading, and libraries effectively in program design.

Program Information

Create a template class for a dynamic 1D array. You can model your class off of our String class or the dynamic list class.

Changes from String class:

Show how useful your template array class is by creating arrays of

— all in one test application.

Make sure your test application is a good/thorough test of your class. (Your test application might utilize the apply and accumulate functions from lecture to facilitate testing. Also note how a typical template test application is structured — using templates to ease development.

Handing it in...

After you've placed your TPQ answers in a separate file named like your main program file, you'll need to run your script. Don't forget to execute your program as many times as you need to show a good sample of testing your program! Finally, if you want/need corrections, go to your favorite email and send me the PDF with a proper subject.

This assignment is (Level 4).

Options


Last modified 05/26/2022 18:36:27.

It is now 3/15/2025, 7:35:11 AM.

Date you last viewed this page: That's for you to know and ...well, that's for you to know.

© 1993-2025  Jason James   (email — craie@acm.org — for permissions &/or details)