Need help with a basic c++ code

Hello everyone, Can someone create a program for the following question let the program be as simple as possible without any UI?
question:

"Create a base class to store Contact details
. Name ( char [ ] )
. Mobile number ( char [ ] )
Member functions >> and << for reading and print Contact Object
and accessor ( get methods ) for both data members ( i.e name & mobile )

Create a class AddressBook to maintain Array of "Contact" i.e to maintain contacts
Create array of objects of Contact class to store each contacts , index of an array
maintained using static variable
Add( ) - Add a new record to Array using auto incremented using static data member
Find( char name[ ] )
Update( )
Delete( )
ListAll( )
Create a Derived class "LOG" from AddressBook to Maintain information about
. Contact Object type to store to whom we recieved call or call is made
. Status ( Incoming or Outgoing )
. Duration of the call
. DateTime
Member functions to
. PlaceCall( ) - List contacts and allow the user to choose contact to place call , duration of call ( any random value ) , Date and Time should be fetched from system.
. Display( ) : To display call log
In the main program create array of objects or pointer to maintain Logs

Main options:
1. Call
2. List all logs
3. List only incoming calls
4. List only outgoing calls
5. Search based on name
6. Save log in a file ( filename should be current date - append mode )
7. Exit
U can also add your ideas and little change in class layout
Ultimate objective is to provide Call logs just like how it works in mobile."
This is not a homework site. Please post the code you have so far and ask specific questions about where you are stuck...

http://mattgemmell.com/what-have-you-tried/
I can do it, $200, oh wait, this isnt the job board, go post there...
Last edited on
Topic archived. No new replies allowed.