Converting textbox->text to integer

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Could someone tell me how I go about converting textbox->text to and integer
value?

Thanks

Dave
 
Dave said:
Could someone tell me how I go about converting textbox->text to and integer
value?

Thanks

Dave
What type of C++ project are we talking about?
atoi() comes to mind.
 
The Int32::Parse() worked great. Thank you.

I tried the atoi() but got errors because the value passed from
textbox->text is System::String __gc * and atoi needs const char *.
Everything I tried gave me an error because of the String __gc * conversion.

Thanks again for the help.

Dave
 
Back
Top