So im using visual basic C++ GUI (playing around) and started making a calculator.
So most of the code is in the .h file, I can put it here but its super long so I was wondering where do I place my classes.
I tried putting it before the section you edit the buttons
So basically before that but if you still dont get it I can post the whole code
let me ask another question. so for every number button (e.g. button 1) will need to display its number and the way its done by
but I thought instead of copy and pasting it multiple times I can make a class for it, is this how its done?
then I can just do
will that work?
So most of the code is in the .h file, I can put it here but its super long so I was wondering where do I place my classes.
I tried putting it before the section you edit the buttons
|
|
So basically before that but if you still dont get it I can post the whole code
let me ask another question. so for every number button (e.g. button 1) will need to display its number and the way its done by
|
|
but I thought instead of copy and pasting it multiple times I can make a class for it, is this how its done?
|
|
then I can just do
|
|
will that work?