Hey everyone. I'm using Visual C++ 2005 Express Edition and I have 2 textboxes and a button. How would I make the button display the numbers which are the textbox(string) added together(an integer)? Any help is needed. Thanks
Printable View
Hey everyone. I'm using Visual C++ 2005 Express Edition and I have 2 textboxes and a button. How would I make the button display the numbers which are the textbox(string) added together(an integer)? Any help is needed. Thanks
Read the both numbers of the textboxes and convert those to an integer add them together like a normal integer and convert the number back to a string and display it.
Yea, I don't know how to do exactly that.
You could write your own string to integer and integer to string converters or use one that already exists.