You've decided you'd like to carry your address book on your thumb drive, but you don't want to pay for an app. Great! You can write a program to do this.
Define a struct called addressType. It will contain fields firstName, lastName, address, and phone. This being done, you can declare a constant called numberOfFriends, and use this constant to declare an array of addressType.
Your program is at the proof of concept stage, so the only functionality you'll need is the ability to read in the struct fields for each record you wish to place in the array, sort them by alphabetical order based on last name, and save this information to a file. Later, you can add the ability to read an infile, like last run's outfile, to initialize your array. Finally, you'll add abilities like adding the address contents of another file to your existing one or provide a lookup function. For now, all you'll do is add addresses via stdin, sort the array by last name, and save it to a file.
Your program should have a while loop that controls a call to an add address function in the main function. Other functions, called from main, will be sort and save.
Make sure your program writes the address array fields on separate lines, with a blank line between records, like this:
Sandra Bullock
15 Anywhere Ln
Hollywood, CA 41517
212 123 4567
Superman
28 Lois Ln
Fortress of Solitude, Arctic Circle 00000
You don't call Superman, he calls you.
Submit your source code, titled [login to view URL] no later than the due date and time. You don't need to submit an address book file.
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C++ and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
Hi, I am C++ expert and can surely help you here with this project. I have a lot of experience in helping students with their assignments and tutoring. Please communicate to discuss further. I will start as soon as you award. Thank you. Regards Anshu
Hello there,
I can help you with this project. You want in C++, right? It's very easy to do, I have done lots of assignments earlier in Freelancer.com.
Please check out my profile for reviews on other jobs I've finished and contact me if you are interested.
Thank you.
Hi there,
I'm really interested in doing this project. I've already read and understood the requirements of this project. So really hope to have chance to work with you, thanks for your consideration!
Regards.
Hello Sir,
I am expert into c and c++ programming
and i also knowledge of FileIO in c and c++.
i am work on many project based on C and C++.
Please Sir Hire Me i will provide satisfaction about my work.
Thanks Sir
Hi, as per your project description it will create a text file in the removable storage device whose path will be supplied by user. I can do it in one day, I will be glad if you contact me for further discussion.
I have done several exercises in C++ and feel I can complete this for you within the next week without fail. My team and I will easily complete this for you.