Ma questo allora è Managed C++... allora devi usare System::Int32::Parse.