tags:

views:

24

answers:

1

I want to read a value from a textbox control on form into a basic_string type variable. I am getting error in the following line of code. writing code in VC++.

std::string my_string = textBox1->Text->ToString();

please tell me how can I type cast it to std:string type.

A: 

See this question.

Pontus Gagge