Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  C++/CLR int to System::String^

In C++/CLR (for Microsoft), sometimes we need to convert int to System::String type or vice versa. The simple way is :From System::String^ to int int num= int::Parse(str); // System::String^ to intFrom int to System::String^System::String^ str = num.ToString(); // int to System::String^For all the other data types, similar ways can be adopted....

22,029 2       MICROSOFT C++ CLR SYSTEM::STRING CONVERT INT