I'm working on a project which I can't use vectors, lists, etc... but only dynamic memory :-(
Being new to C++, i don't know how to "save" blocks of data in dynamic memory.
Theres what i need to do:
I have to make a program for a grocery store. In this store the clients can order products and what i need to keep in dynamic memory are each clients orders.
- Client Name
- The products the client wants
- Total price
But i don't know how to do this without using vectors or lists...
Can anyone help me?