Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
Im just starting to learn vc++ , Have a simple question you pros surley can answer easilty.
For example. I have 3 editboxes on my form.
How can Edit3->Text=Edit2->Text*Edit1->Text
I know I should convert the string to a number first , but dont know how to
do that?
In C++Builder it would be like this:
Edit3->Text=IntToStr(StrToInt(Edit2->Text)*StrToInt(Edit1->Text));
Can someone please give some sample code on how to do this in VisualC++.
Thanks.
Im just starting to learn vc++ , Have a simple question you pros surley can answer easilty.
For example. I have 3 editboxes on my form.
How can Edit3->Text=Edit2->Text*Edit1->Text
I know I should convert the string to a number first , but dont know how to
do that?
In C++Builder it would be like this:
Edit3->Text=IntToStr(StrToInt(Edit2->Text)*StrToInt(Edit1->Text));
Can someone please give some sample code on how to do this in VisualC++.
Thanks.