Circular LInked List

This project was awarded to thanhhungqb for $30 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
Project Description

Menu driven program is to create class "linklist", implementing a dynamic circular linked list in ascending order.

Project is to be organized utilizing [url removed, login to view], LINKLIST.h and [url removed, login to view]

Menu is to look like this:

1 Insert a number into the ordered circular list

2 Print the ordered circular list

3 Insert random integers into the ordered circular list

4 Test the copy constructor of ordered circular list

5 Delete a number from the ordered circular list

6 Destroy the ordered circular list

7 Pass the list as value parameter & check

9 Quit

Notes on menu above

#1 insert an int into the list, maintaining ascending order [Then returns to menu (no output)]

#2 print the list across the screen, one space between each int [hold screen using [url removed, login to view]() until 'enter' is pressed]

#3 inserts a quantity (specified by user) of random ints by calling [url removed, login to view] (rnum). To do this, #include <stdlib.h>, then this command: rnum=rand (); assigns a random int in the range 0...INT_MAX to rnum (you will have to reduce each rnum to this range... 0<=rnum<100 before inserting) [return to the menu when finished... no output] *this option does not clear the list before inserting the random ints

#4 calls the copy constructor & prints the copy to verify it [hold screen until enter is pressed]

#5 delete an int from the list [and return to menu] or if not in list print the message "Not in list" [hold screen until enter is pressed]

#6 since the destructor function can't be invoked explicitly, call function "destroy" [return to menu, no output] *the destructor function should also call this function

#7 To check that the copy constructor and destructor work when passing the list as a value parameter, call the exact function below [make no changes to this function] [hold screen until enter is pressed]

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online