Find Jobs
Hire Freelancers

C++ linked list homework

$30-5000 USD

Completed
Posted about 21 years ago

$30-5000 USD

Paid on delivery
Your program must maintain a parts list as a Linked List. Each part will have an ID number, an amount in stock, and a price per item. You must build the list of parts by reading the file: INVEN .TXT .The parts list should be maintained in order by ID number. Next you will process a list of orders in the file: ORDERS. TXT .Each order will have a customer number, a part ID number and a quantity. You must search the list, determine whether the order can be filled and if it can write a confirmation to an ORDER. TXT file and decrement the quantity on hand in the linked list. Input 1. File "INVEN .TXT" contains the inventory data for the parts: where is a string of six characters without embedded blanks, and is an integer representing the number of that part in the current inventory available for sale, and is a float representing the cost of a single part. 2. File "ORDER. TXT" contains the order information for customers: where is a 4 digit integer, is an IDNUM in the inventory (be sure to check for invalid IDNUMs), and is an integer. 3. File "UPDA TE. TXT" contains the modifications to the inventory that must be made at the end of the working day. There will be ADDs, DELs, and CHGs. [ or where the will be ADD, DEL or CHG, will be a new IDNUM to add or an existing IDNUM to delete or change. If the command is ADD there will be two additional fields: quantity and price. If the command is DEL there will be no additional information. If the command is CHG there will be a price change field. Output Use getch() in conio.h to control the screen displays. There must be NO SCROLLING. I have to be able to read everything and advance the screen at will. ## Deliverables 1. Echoprint the inventory as you create the linked list. Use getch() in the read and echo loop and allow ~ no more than 10 lines of output to display before the screen pauses for my keypress. 2. Title your output file and write column header descriptions to the file also. Then write to the ORDER. TXT output file the following information for each order successfully processed: Customer number, Part Ordered, Quantity Ordered, Total Cost. If there is a request for a part that cannot be filled then write to the ORDER. TXT output file the following information: Customer number, Part I Ordered, Quantity Ordered, "Part on Back Order". 3. Echoprint to the screen the same information that is being sent to the file. Use the same criteria as in #1 above: display no more than 10 lines of output before pausing for user keypress usinggetch(). 4. Finally, when the order file is completely processed, process the updates to the list. Openthe UPDA TE. TXT file and perform the modifications to the list. Echoprint the modifications being made (10 per screen). When end offile is reached, write to a new ouput file: YOURNAME. TXT the updated list. ## Platform Program should be compiled on a MS Visual 6.0 compiler. .tiff files are actual assignment sheets(3 pages) The souce code and header file included is a class example which the program should be built on. All files will definately need to be modified but should resemble the code in some way. I would like the code well documented so that I may understand it.
Project ID: 2920589

About the project

24 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 14 days
5.0 (37 reviews)
3.0
3.0
24 freelancers are bidding on average $33 USD for this job
User Avatar
See private message.
$21.25 USD in 14 days
4.6 (148 reviews)
6.1
6.1
User Avatar
See private message.
$21.25 USD in 14 days
4.9 (212 reviews)
5.8
5.8
User Avatar
See private message.
$17 USD in 14 days
5.0 (53 reviews)
5.1
5.1
User Avatar
See private message.
$32.30 USD in 14 days
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$8.50 USD in 14 days
4.2 (111 reviews)
4.4
4.4
User Avatar
See private message.
$59.50 USD in 14 days
5.0 (18 reviews)
4.2
4.2
User Avatar
See private message.
$10.20 USD in 14 days
4.9 (36 reviews)
3.8
3.8
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (18 reviews)
3.5
3.5
User Avatar
See private message.
$76.50 USD in 14 days
4.9 (14 reviews)
3.4
3.4
User Avatar
See private message.
$8.50 USD in 14 days
4.8 (17 reviews)
2.7
2.7
User Avatar
See private message.
$25.50 USD in 14 days
4.5 (15 reviews)
2.7
2.7
User Avatar
See private message.
$21.25 USD in 14 days
4.3 (4 reviews)
2.4
2.4
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (1 review)
2.3
2.3
User Avatar
See private message.
$34 USD in 14 days
2.3 (5 reviews)
2.9
2.9
User Avatar
See private message.
$42.50 USD in 14 days
5.0 (5 reviews)
0.4
0.4
User Avatar
See private message.
$42.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 14 days
0.0 (2 reviews)
0.0
0.0
User Avatar
See private message.
$85 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$85 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
2
Member since Mar 16, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.