View Single Post
Old Nov 29th, 2007, 11:16 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 547
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: dynamic array help

Looks like the instructions are pretty clear to me. Do you know how to create a c++ class? If not then you should read or reread about them in your textbook and probably do some of the exercises at the end of the chapter.

Do you know pointers ? such as int *items;. If not, then you need to study them some more as well.

Do you know how to allocate and delete memory using the new and delete operators? If not -- better study those some more too.

If you are confortable with all the above then you should be able to do the assignment with not too many problems. Give it a try, post the code you have done, and ask questions about what you don't understand.
Ancient Dragon is offline