Click to See Complete Forum and Search --> : Adding and subtracting in Win32 API
gaar321
July 31st, 2010, 01:01 PM
Hello could you please point out to me on how to do adding operations in Win32 API i can get buttons to come up and appear in static label e.g. i press 0 and it appears but if press another button it dissapears out of the static lable plus i want to know how to add numbers up in win32 API
please help it is very frustrating
ovidiucucu
August 3rd, 2010, 10:36 AM
What do you mean with "Adding and subtracting in Win32 API" ?
Please, a little bit more clear.
zaryk
August 3rd, 2010, 11:11 PM
Adding and Subtracting in WinApi is pretty much the same for c++ console except with buttons
http://www.cplusplus.com/doc/tutorial/variables/
gaar321
August 9th, 2010, 11:37 AM
okay i will be more clearer how do you make a calculator in Win32 API
Paul McKenzie
August 9th, 2010, 11:44 AM
okay i will be more clearer how do you make a calculator in Win32 APIThat is not more clearer. That's like asking "how do you build a house". Where would you start explaining how to build a house?
Regards,
Paul McKenzie
gaar321
August 9th, 2010, 12:42 PM
fairly easy tbh you even the surface of the ground out they you lay your base out.
what i mean is i can get the buttons to appear and interact with edit box e.g. press button 0 then 0 appears in edit box but what i can not get it to do is that i want it to align left then when i click + i want it make to make the text dissaper then when i add another number the. you then click the = and it give you your answer
Paul McKenzie
August 10th, 2010, 04:47 AM
fairly easy tbh you even the surface of the ground out they you lay your base out. What is a surface? What is a base? You didn't explain what these are. See what I mean? Your question is so vague, where do you start?
We have no idea what you're trying to do, what your code looks like, etc.. The question itself doesn't make sense -- you add or subtract numbers by taking the two numbers and ... adding or subtracting them. What this has to do with the Win32 API, that's something you have to tell us in greater detail.
Regards,
Paul McKenzie
gaar321
August 10th, 2010, 03:19 PM
okay delete this thread because i open a new one
mani3355
August 12th, 2010, 12:25 AM
hi,
I am i confused and pl explained it.
i will be more clearer how do you make a calculator in Win32 API
thanks for message
regards,
phe9oxis,
http://www.guidebuddha.com
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.