Hi , i need to write a program that have an indefinited number of person with name, number of phone and all the call that they have do that can be 0 or 10000!
For every call i need to say the day and time, starting my program i've created a dinamic list and the program that acquires data:
It looks to me as though you'll want a class to represent a call. That class will need data members for:
- date
- time
You'll also want a class to represent a person. That class will need to have data members for:
- name
- telephone number
- list of calls
I don't speak Italian, but it looks as though that's close to what you have already.
It looks as though you're trying to write a linked list to store your calls, and your people. I'm not sure that's necessary - you can probably just use a vector.
Sorry, I can't use class, seem that the it seems that he wanted to track that I ran only one person and not many people, this makes it easier. I will post the code after thank you!