Addressbook array based list

I gang Opslået 3 år siden Betalt ved levering
I gang Betalt ved levering

1 Project Overview

We need to keep track of phone numbers. To do this, we will use an array based

list found in chapter 3 of the text book.

Total Points: 40

1.1 Requirement #1

Create a class called AddressBook:

• Attributes:

– All of the variables which are necessary to support this class based on

the template found in Chapter 3

– An array of AddressEntry pointers with a maximum and minimum size

of 500

• Methods: found in the book and shown below. Remember, these methods will

process AddressEntry pointers instead of integers. You may use the functions

in the book in your program but they will not be templated functions, they

will be methods of the AddressBook class. Only the methods shown below

need to be implemented.

– isEmpty

– isFull

– listSize

– maxListSize

– print

– seqSearch (you will use the full name as the AddressEntry value to

check here instead of an integer)

– insertEnd (remember, this will receive a pointer to an AddressEntry

object instead of an integer)

– removeAt

– retrieveAt (remember, this will return a pointer to an AddressEntry

object instead of an integer)

– clearList (remember, you are storing pointers to objects, not static objects, so memory leaks?)

– Default Constructor: Make sure you set the variables appropriately for

an empty list

– Destructor: Make sure you clear out the list of all pointers (don’t forget

about memory leaks)

1.2 Requirement #2

Create a class called Date.

• This class will contain the following attributes:

– month (1-12)

– day (1-31)

– year (1970 - 2020)

• The following methods:

– Create accessors and mutators for each of the above attributes. All mutators should return true if the value was set correctly, and false if not.

Yes, you are doing data validation.

– getDateString(). This function should return a string representing the

date (ex: 2019/01/01 or 01/01/2019)

1.3 Requirement #3

Create a class called AddressEntry. This class will contain the following attributes:

• This class will contain the following attributes:

– fullName

– phoneNumber

– address

– dateOfBirth: data type should be your new Date class

• The following methods:

– Create accessors and mutators for each of the above attributes

– getDateString(). This function should return a string representing the

date (ex: 2019/01/01 or 01/01/2019). Look on the internet as to how to

do this.

– The mutator for dateOfBirth could take three values for month, day

and year. Make sure it returns a boolean false if the values of these

entries are invalid. Use the mutators for the Date class to determine if

these values are correct or not

1.4 Requirement #4

Now, create a main() function which will create an instance of the AddressBook

class and populate it with AddressEntry pointers. Print them, remove some,

find a few (using the full name with the seqSearch function), then clear out the

AddressBook object checking for memory leaks.

C++ Programmering

Projekt ID: #27394694

Om projektet

10 bud Remote projekt Aktiv 3 år siden

10 freelancere byder i gennemsnit $37 timen for dette job

urmate

Hello I am a senior programmer with years of practical development experience in various programming languages. I have read your project descriptions. I have excellent programming and development skills. Contact me Flere

$30 USD in 2 dage
(325 bedømmelser)
6.9
iridescent2x15

Hi I have done many c++ projects. Kindly contact to share more details about your project in chat. Thank you

$50 USD in 7 dage
(55 bedømmelser)
5.9
Saimi786

Hello Thanks for your posting. I am a senior developer so i can do it very easily if you want.I’ve read your job description carefully and I am very interested in your project. I am sure that I can finish this project Flere

$20 USD på 1 dag
(17 bedømmelser)
4.1
idleswell

Thanks for your project. I have 30 years experience programming in C++. I will create these classes and the main program as described in your posting. Since I do not have any examples from your book, I will create th Flere

$144 USD in 4 dage
(2 bedømmelser)
3.9
CodingHelpLine

Hello Sir/Madam I have read the project description. I have excellent development experience in various Technologies, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, Flere

$25 USD på 1 dag
(13 bedømmelser)
2.8
Thissemsilt

Hello there, I'll help you with your C++ project since i'm proficient in it. Message me so we can start. Best Regards.

$30 USD in 2 dage
(3 bedømmelser)
1.8
ntomar2

I have good industry programming experience in c++ for windows as well as Linux I have worked for different domains like CAD automotive and Combat management systems in c and C++ with experience of different libraries Flere

$20 USD in 7 dage
(1 bedømmelse)
0.0
bilalkiyaniii

I have a expert to soving this type of alogaritms. I have a 5 year experience in c++ programing. I will give best output inshallah. You can contact me and describe more about your project. I will do

$20 USD in 2 dage
(0 bedømmelser)
0.0
AwaisKhan11

Hi, I'm senior programmer having programing skills in multiple languages like c, cpp, c#, Java, python with certified masters degree in Software Engineering. I've done multiple c++ task and projects during my educati Flere

$15 USD på 1 dag
(0 bedømmelser)
0.0
vw827458vw

Good afternoon. We are a multidisciplinary development team and we have the skills required to complete this project successfully with the highest quality standards. We estimate to meet the requirements in a period of Flere

$20 USD in 3 dage
(0 bedømmelser)
0.0