Find Jobs
Hire Freelancers

C++ linked list homework

$30-5000 USD

Ukończony
Opublikowano około 21 lat temu

$30-5000 USD

Płatne przy odbiorze
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.
Identyfikator projektu: 2920589

Informację o projekcie

24 ofert
Zdalny projekt
Aktywny 21 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
See private message.
$12 USD w 14 dni
5,0 (37 opinii)
3,0
3,0
24 freelancerzy składają oferty o średniej wysokości $33 USD dla tej pracy
Awatar Użytkownika
See private message.
$21,25 USD w 14 dni
4,6 (148 opinii)
6,1
6,1
Awatar Użytkownika
See private message.
$21,25 USD w 14 dni
4,9 (212 opinii)
5,8
5,8
Awatar Użytkownika
See private message.
$17 USD w 14 dni
5,0 (53 opinii)
5,1
5,1
Awatar Użytkownika
See private message.
$32,30 USD w 14 dni
4,9 (79 opinii)
4,7
4,7
Awatar Użytkownika
See private message.
$8,50 USD w 14 dni
4,2 (111 opinii)
4,4
4,4
Awatar Użytkownika
See private message.
$59,50 USD w 14 dni
5,0 (18 opinii)
4,2
4,2
Awatar Użytkownika
See private message.
$10,20 USD w 14 dni
4,9 (36 opinii)
3,8
3,8
Awatar Użytkownika
See private message.
$8,50 USD w 14 dni
5,0 (18 opinii)
3,5
3,5
Awatar Użytkownika
See private message.
$76,50 USD w 14 dni
4,9 (14 opinii)
3,4
3,4
Awatar Użytkownika
See private message.
$8,50 USD w 14 dni
4,8 (17 opinii)
2,7
2,7
Awatar Użytkownika
See private message.
$25,50 USD w 14 dni
4,5 (15 opinii)
2,7
2,7
Awatar Użytkownika
See private message.
$21,25 USD w 14 dni
4,3 (4 opinii)
2,4
2,4
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
5,0 (1 opinia)
2,3
2,3
Awatar Użytkownika
See private message.
$34 USD w 14 dni
2,3 (5 opinii)
2,9
2,9
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
5,0 (5 opinii)
0,4
0,4
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$42,50 USD w 14 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$21,25 USD w 14 dni
0,0 (2 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$85 USD w 14 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
See private message.
$85 USD w 14 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
United States
5,0
2
Członek od mar 16, 2003

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.