Home » C++ project

C++ project

 Your goal is to implement an application that reads a file, modify its content, and writes the modification back to the same file. The file includes 2 lines of integers. The first line shows which item on the second line has been selected (active). And the second line lists all the items in the list (maximum of 10). Your application should have a menu that is constantly displayed on the screen (see the menu section below). Right below the menu, the program should display the items in the list (second line). Also, it should show which item is currently selected (active) by placing it within ( ). The user should be able to select a menu item by entering its associated number. “Insert” will insert an integer before the selected item and makes the newly inserted integer active. The integer is typed by the user. If the list is full, insertion will not be possible. “Delete” deletes the active item. If no more item to delete, display empty parentheses. “Sort” sorts the list in ascending order. The active item after the sort is same as the active item before the sort. “Select Right” selects the next item in the list. If the last item is selected, this option selects the first item in the list. “Select Left” selects the previous item in the list. If the first integer is selected, this option selects the last item in the list. “Move Right” moves the selected item one position to the right. If the last item is selected, moving right will not be possible. “Move Left” moves the selected item one position to the left. If the first item is selected, moving left will not be possible. “Exit” ends the application. Make sure to use the top-down design to break your program to many simpler tasks (at least one function per task) Do not use global variables. Make sure to check the special cases. When starting the program, you should read the first number, save it into an integer, read the remaining integers and save them into an array and close the file. When ending the application, you should write back everything back in the same file before closing it. Make sure to test your program completely before submission. Do not forget to add comments. 

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Menu: 
1. Select Right 
2. Select Left 
3. Move Right 
4. Move Left 
5. Insert 
6. Delete 
7. Sort 
8. Exit 

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Live Chat+1 763 309 4299EmailWhatsApp

We Can Handle your Online Class from as low as$100 per week