Visual C++ Code Snippets

Spread the word!


A Textbox’s text is of CLI String type (System::String^) and not C++ String (std::string). Here an example on how to convert one type into the other:


Take a string, convert each character into the corresponding ascii value, and convert all back to a string.

Be the first to comment

Leave a Reply

Your email address will not be published.