Click here to Skip to main content
16,015,258 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Article Idea: Website from start to finish Pin
Michael P Butler30-May-02 7:36
Michael P Butler30-May-02 7:36 
GeneralRe: Article Idea: Website from start to finish Pin
James T. Johnson30-May-02 17:10
James T. Johnson30-May-02 17:10 
GeneralRe: Article Idea: Website from start to finish Pin
Ramon Casellas30-May-02 8:49
Ramon Casellas30-May-02 8:49 
GeneralRe: Article Idea: Website from start to finish Pin
James T. Johnson30-May-02 17:14
James T. Johnson30-May-02 17:14 
GeneralRe: Article Idea: Website from start to finish Pin
Brad Bruce7-Jun-02 6:29
Brad Bruce7-Jun-02 6:29 
GeneralRe: Article Idea: Website from start to finish Pin
Paul Watson7-Jun-02 6:36
sitebuilderPaul Watson7-Jun-02 6:36 
GeneralRe: Article Idea: Website from start to finish Pin
brianwelsch14-Aug-02 8:26
brianwelsch14-Aug-02 8:26 
GeneralNeed Help Pin
23-May-02 10:13
suss23-May-02 10:13 
I have to a web search for a program for a school web search project that matches the question below.Can anybody give me a program or tell me where I can get one that matches this question in C not C++ please.
If so e-mail is speedster264@hotmail.com.
Many thanks.

Here Is question.

A small shopkeeper uses a simple computer system to keep an up to date inventory of all products stocked. Every week the shopkeeper updates the stock file with a series of stock amendments, stored on another file. The format of both TEXT FILES is shown below, with each record stored in ascending order of product code, and each field being separated by a comma. Both files tenninate with a special "sentinel" product code of 9999.

Stock File.

Product Code 4 digits
Quantity 4 digits (in the range 1000 to 9999)
Buying Price 4 digits
Sale Price 4 digits

Stock Amendments File.

Product Code 4 digits
Amendment Type 1 character 'I' for an issue from stock.
'R' for a receipt into stock.
'B' for an amendment to the buying price.
'S' for an amendment to the sale price.
'D' for a deletion of the stock item.

Value 4 digits

NOTE
The data item "Value" will be zero in the case of a stock item deletion.

Find a program that will update the existing stock file, creating a new stock file, in the
same order as the original. It is possible that a stock item will have one, more than one,
or no transactions during a week. After the update of a master record, any stock item
that is outside the given range should also have the record written to a "query file".
You can assume that there are no transactions in the stock amendments file that do not
have matching product codes in the stock file.


GeneralRe: Need Help Pin
Chris Losinger23-May-02 10:29
professionalChris Losinger23-May-02 10:29 
GeneralRe: Need Help Pin
speedster23-May-02 15:53
speedster23-May-02 15:53 
GeneralRe: Need Help Pin
Ravi Bhavnani20-Jun-02 16:00
professionalRavi Bhavnani20-Jun-02 16:00 
GeneralRe: Need Help Pin
speedster22-Jun-02 5:00
speedster22-Jun-02 5:00 
QuestionWindows Installer? Pin
Rene De La Garza23-May-02 6:12
Rene De La Garza23-May-02 6:12 
AnswerRe: Windows Installer? Pin
Philip Patrick23-May-02 9:02
professionalPhilip Patrick23-May-02 9:02 
GeneralShow desktop Pin
obr23-May-02 4:46
obr23-May-02 4:46 
GeneralRe: Show desktop Pin
3-Jun-02 11:16
suss3-Jun-02 11:16 
GeneralRe: Show desktop Pin
TomKat14-Mar-03 15:09
TomKat14-Mar-03 15:09 
Generalusing Winsock Control in VC++ Pin
Speedy20-May-02 11:25
Speedy20-May-02 11:25 
GeneralRe: using Winsock Control in VC++ Pin
l a u r e n20-May-02 12:11
l a u r e n20-May-02 12:11 
GeneralC# TreeView/List Pin
Mika14-May-02 7:35
Mika14-May-02 7:35 
GeneralRe: C# TreeView/List Pin
Mika14-May-02 7:37
Mika14-May-02 7:37 
Generalarticle ideas Pin
Jason Henderson14-May-02 6:29
Jason Henderson14-May-02 6:29 
GeneralRe: article ideas Pin
Michael P Butler15-May-02 22:37
Michael P Butler15-May-02 22:37 
GeneralRe: article ideas Pin
Jason Henderson16-May-02 11:33
Jason Henderson16-May-02 11:33 
Questionhow to save a image using script - jscript or vbscript Pin
CreProDes8-May-02 20:56
CreProDes8-May-02 20:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.