Thursday, July 9, 2009

I need expert advice to create a barcode system program using c++ language using class and inheritance?

the program is to be created using inputs(barcode num(max 4 digits), product description, unit price and quantity)from the user. these details are to be stored and to be retrieved upon request to the program.max 10,000 items to be stored each with their own set of barcode, product des, price and quantity.Arrays would need to be used. Any form of help or advice would be really

I need expert advice to create a barcode system program using c++ language using class and inheritance?
I'm not going to do your homework for you. It would be a disservice to you as well as the software engineering field in general. However, I will give you a hint.





First, decide what objects you will need. A good starting place would be to pull out all of the nouns in the requirements description and use that as a starting place to define the basic objects your architecture will use.





In this case I would use a "product" class that contains members for each of the attributes you need to keep track of (Hint #2: members can be objects as well.). Create a new instance of the product class and populate its members each time a new item is put in the database. Store these objects in the data structure of your choice. With a max of 10,000 items I think a btree using the product ID as the unique identifier would be a good choice.
Reply:Try looking for a tutorial at http://www.planetsourcecode.com


Try some of the c++ developers forums as well, can usually find help this way from competent folks in the industry.
Reply:First of all a 4-digit barcode is only going to get you 4! (or 24) unique items. You'll need to increase your barcode digits to 7 (5040) or really 8 (40320) to get 10,000 unique items... As for the actual software, I'd try Planet Source Code...





Planet Source Code:


http://www.planetsourcecode.com/vb/defau...





Try searching for inventory programs...
Reply:Go here http://mccroan.com/Barcode.htm


No comments:

Post a Comment