My question is!
This assignment is beyond the scope of a "beginners" C++ progamming level.
So how did you advance to this level and "not know where to begin" ?
Ok
Maybe start by creating a class .. call it StockItem
In this class I would add fields like...
itemCode - string or numeric value to code the item
itemDescription - string value decribing to item
itemManufacturer - string value for the item maker OR supplier
itemQuanity - int value for stock on hand (represent as a string value)
costPrice - float value (represent as string dolor value)
sellPrice - float value (represent as string dolor value)
plus anything else you conside is important information to store.
Note: field values need to stored as strings because you will be saving/retriving from a 'text' file.
Hope this gets you started
Milton
Milton Neal
Junior Poster in Training
59 posts since Sep 2010
Reputation Points: 10
Solved Threads: 13
Skill Endorsements: 0