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
-
Answer:
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.
maayub15 at Yahoo! Answers Visit the source
Other answers
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.
Delfin
Go here http://mccroan.com/Barcode.htm
vegasdawg
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/default.asp?lngWId=3 Try searching for inventory programs...
Tim
Related Q & A:
- Can I estimate the row count of a large mysql table using the disk space?Best solution by Database Administrators
- How to create a build system in Sublime Text 3?Best solution by stackoverflow.com
- How to programatically select a item in list using c#?Best solution by Software Quality Assurance & Testing
- How to create a simple counter program?Best solution by Stack Overflow
- I need Career Advice for International Affairs?Best solution by press.georgetown.edu
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.