create a class named value and put in the constructor a variable called whatever and make it equals to the argument (which is the entered value from the user).
you'll get the number from user
then make a for loop depending on that number
and create a pointer object of the class with the loop number as a label and the new value as an argument.
This will create each time an object called Value[1],[2],........etc and put each value in an object.
__________________
CPU Phenom 9850 Black Edition |
Motherboard Gigabyte MA790X-DS4 |
Memory 2GB Kingston DDR2 800 |
Graphics Card Radeon HD3450 |
Hard Drive WD Caviar® Blue™ 500 GB, 16 MB Cache, 7200 |
CPU cooling Stock |
OS Windows Vista Ultimate (x64) |
Monitor ViewSonic GS790 19" |
|