Hi,
I am doing a project in Visual Studio, In one of the forms I have a button that every time it is clicked, the program must save an integer and character in two separate variables. If the button is clicked again, the program will do the same but in different variables (i.e. not replacing).
Now my problem is: lets say the user presses this button for 30 times, does that mean that I have to initialize 30 INT variables and 20 CHAR variables ???
Is there another method please?
I am doing a project in Visual Studio, In one of the forms I have a button that every time it is clicked, the program must save an integer and character in two separate variables. If the button is clicked again, the program will do the same but in different variables (i.e. not replacing).
Now my problem is: lets say the user presses this button for 30 times, does that mean that I have to initialize 30 INT variables and 20 CHAR variables ???
Is there another method please?