![]() |
referring to objects via user input strings
I have 2 objects called X and Y created from a class called Product which has a field called numInStock. From another driver program, I want a user to input either X or Y with their response being stored in a string userchoice (so user enters X or Y as a response) Then I want to be able to...
|
| All times are GMT -4. The time now is 04:27 AM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.