OK, I have taken a class in C++ and it was believe or not the first one offered at HCC. With that, we did as a class project a POS/INventory software for an imaginary bookstore. Each book was an object of the Book class. Now, being beginers our project had us initialize an array of twenty of these Books, and that was all inventory could do. What I am trying to do is something similar...
Imagine a watch store, with a similar inventory controling/monitoring software system. Each watch is stored in a class object. When I want to add a new watch, I want to create a new object of that class. So if I added Seiko to my inventory, I could create an object of the Watch class named Seiko, with all the member functions of the watch class. So I could use like.... seiko.getRetail();
Is THIS possible is what I was asking.
Ask and input name of watch to variable name.
If the user inputs seiko into the name variable, will it create an object of the Watch class with the name seiko? I've never seen it done, so can the constructor ask for input or can it only initialize variables?