i need to write a programby using a class AdressBookType which can perform following actions
load the data into the address book from a file
search the person by last name
print the address phone numbers and date of births
print the names of people whose birthdays are in a given month
help me as much as you can
manontheedge had it right - the first step to solving any problem is breaking it down into smaller steps. You know you need a class addressBookType - but what will it have?
A function to load data - getInfo()
A way to sort through the people inside
Several printing functions.
It might help if you also had another class/struct, called personType. personType can have an address (string), last name and first name (both strings), age (int), birth month (int), birth date (int), birth year (int), and telephone number (either string ("410-555-1234") or int (4105551234)). Then your addressBookType class can have an array of x number of personType variables - the people in the book. This would, of course, be a private member.
If you need more help further along, go ahead and ask - as manontheedge stated, we're willing to try and help if you're willing to try and help yourself.