This is an example with atoi ...Code:private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { num1 = atoi(this->textBox1->Text); num2 = atoi(this->textBox2->Text); total=num1+num2; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: First window problemThreaded View
|
Click Here to Expand Forum to Full Width |