Completed

C++ array pointer and struct simple mailbox project -- 2

For this project we will have a command file. The command file will have a series of commands that instruct our program what to do. The commands will be described below. The commands will deal with messages and we will be using an mbox format and I'll describe it below. The heart of this project will be a struct that you create and then 2 arrays used to store the messages. One of the arrays will store valid or good messages, and the other array will store modified or invalid messages. Both of these arrays will need to "grow" and so we'll be using pointers and dynamic arrays to accomplish this.

For this project the mailbox program will respond to a series of commands:

-load this command will expect a filename to appear after it. The file will be a valid mbox file and the messages will not be checked as they are loaded. (Even though some of them may be modified, load will put them all in the inbox.)

-add this command will simulate a new message coming in. On the next line will be a single message. The message will need to be checked for validity. If it is good, then it is added to the inbox. Otherwise it is added to the modified

-show this command will be followed by which inbox to show, i.e inbox or modified, and then optionally a number. If the command is just show inbox or show modified then the entire request list of messages will be shown. If the command is ended with a number then, if the number is good, that message is shown. IF the message number is invalid, then an error message is shown.

-remove this command will be followed by which inbox you wish to remove a message from and then it will end with a message number. This would look something like this: remove inbox 3 or remove modified 2 If the message number is valid, then the message is removed from the list and an output would indicate it's removal. If the message number is invalid then an error output is displayed.

-save this command will be followed by which inbox to save and a filename where to save the inbox. For example: save inbox mboxsave or save modified mboxsave The format of the saved file is such that it could be used to load. So to test, you could add some messages, save your inbox, then load that same saved file back in.

Skills: C Programming, C# Programming, C++ Programming, Software Architecture

See more: simple excel project grade, instructions simple machine project, simple java project code, simple jsp project eclipse, simple digital project, simple bank project servlet jsp, simple flash project rotating images, simple palindrome project java, example simple design project, C# project- 2, C# project-2, write array of struct to file in c, simple mini project in c, array of structures in c using pointer, project 2 test, c++ smart pointer array

About the Employer:
( 3 reviews ) Blacksburg, United States

Project ID: #22311294

Awarded to:

LBechara

The project is suitable for my skills and i would like to work on it

$10 USD in 1 day
(1 Review)
0.6

5 freelancers are bidding on average $44 for this job

michaels225

Hi, sir I have rich experience with C/C++ and Data structure and Algorithm. Also, APIs are really talent skills for me. So, I am absolutely sure that I can do the project very well. Let's discuss more via chat Thank More

$30 USD in 1 day
(11 Reviews)
4.4
Artemrodin1987

Hello, I have just read your requirement very careful and I am sure that I can finish it for 1 hours because I am a professional C/C++ expert with strong algorithm. So I think it is a important opportunity for me to pr More

$70 USD in 1 day
(5 Reviews)
3.0
hayteekeys

helllo, I have worked both full time and part time as a Windows desktop/embedded *C/C++(MT4, 5)/C# developer for over 7 years now, I have done many simple and complex projects with Visual Studio and C++, some linux-t More

$10 USD in 1 day
(1 Review)
1.8
vadimrabota77

Hi, how are you? I read you details and I have good experience(7 years) in work like this. we can discuss in detail about project on chat. I will complete your project perfectly. best regards. I am wating for your mess More

$100 USD in 1 day
(0 Reviews)
0.0