Terminé

C++ linked list homework

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.

Compétences : Programmation C, Ingénierie, MySQL, PHP, Architecture Logicielle, Tests de Logiciels

en voir plus : string search in c, string in c programming, string c programming, search string in c, search string c, search c string, programming loop, programming compiler, loop programming, linked on, linked n, linked it, linked i, for loop in c programming, for loop c programming, float programming, float c programming, embedded programming in c, embedded c++ programming, definately

Concernant l'employeur :
( 2 commentaires ) United States

Nº du projet : #2920589

Décerné à:

vw472664vw

See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 14 jours
(37 Commentaires)
3.0

24 freelance font une offre moyenne de $33 pour ce travail

finecodervw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(148 Commentaires)
6.1
DanD

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(212 Commentaires)
5.8
ingeniadesign

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(53 Commentaires)
5.1
herculesevw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(79 Commentaires)
4.7
emesevw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(111 Commentaires)
4.4
lalesculiviu

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(18 Commentaires)
4.2
teamvw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(36 Commentaires)
3.8
cossimin

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(18 Commentaires)
3.5
salajanvw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(14 Commentaires)
3.4
vw767279vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(17 Commentaires)
2.7
dannynoest

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(15 Commentaires)
2.7
vw724304vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(4 Commentaires)
2.4
claudiuvw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(1 Évaluation)
2.3
vw417539vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(5 Commentaires)
2.9
vw680800vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(5 Commentaires)
0.4
ikisvw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(0 Commentaires)
0.0
vw603931vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(2 Commentaires)
0.0
rochajoel

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(0 Commentaires)
0.0
iqq

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(0 Commentaires)
0.0
pointless

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(0 Commentaires)
0.0