hello there guys, was wondering if anyone could help me,im new to C++ and at the moment im trying to make an array of people which then has either an array or list of other variables, it would be an array of people (this would have their details such as name age dob) with a list of their accounts (bank account internet account etc each with their own set of variables such as balance), i can make an array of the account or even the people but i dont know how to give a person within an array an account, as a person can have many accounts, also im not to sure how you would delete a person from the array and even more unsure how you would keep a person but delete one of many accounts. hope this makes sence to someone could really use a hand thanks.
phoenix1095
0
Newbie Poster
Recommended Answers
Jump to PostIt makes sense. To help you better, you should post some source.
Jump to PostYour a teacher? A professor?
I'm a coauthor of this book.
All 7 Replies
mrnutty
761
Senior Poster
arkoenig
340
Practically a Master Poster
griswolf
304
Veteran Poster
mrnutty
761
Senior Poster
arkoenig
340
Practically a Master Poster
mrnutty
761
Senior Poster
arkoenig
340
Practically a Master Poster
jonsca
commented:
The master is finally revealed!
+5
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.