Guest_imported
New member
- Jan 1, 1970
- 0
HI all,
i am a newbie in this forum..
i had a kinda of weird question...
i wanted to know how to get the mouse to work the way i want in assembly..
i have a program which asks to create a calculator that adds and subtracts, and be able to click on the buttons with the mouse..
i have the calculator drawn, and have kind of figured out how to enable the mouse and click, but how would i get the program to save the number and be able to do the arithmetic when the buttons are clicked??
the restrictions are that the user can enter up to 3 digit for each number, like 345 + 234....
how would i be able to make the program save the numbers and have it know that when i click 345, its saving it as 345 and not 3, 4, 5??
any help would be appreciated...
i am a newbie in this forum..
i had a kinda of weird question...
i wanted to know how to get the mouse to work the way i want in assembly..
i have a program which asks to create a calculator that adds and subtracts, and be able to click on the buttons with the mouse..
i have the calculator drawn, and have kind of figured out how to enable the mouse and click, but how would i get the program to save the number and be able to do the arithmetic when the buttons are clicked??
the restrictions are that the user can enter up to 3 digit for each number, like 345 + 234....
how would i be able to make the program save the numbers and have it know that when i click 345, its saving it as 345 and not 3, 4, 5??
any help would be appreciated...