I am just writing a silly little application to add two numbers together, but I am not sure how to read in from the edit control boxes.
I have been trying to do it this was
But I am getting errors. Hopefully someone can help me out. Or point me to where on the MS site I can get some help.Code:int var1, var2; var1 = IDC_EDIT1->Text; var2 = IDC_EDIT2->Text; MessageBox::Show((var1+var2).ToString());