converting "String___gc" simply to "string"
Hi
I am using windows forms c++ to write a program, i need to get some string value from the user and pass it to a function of another class that is part of the project. However, the type of the string that I get from the text box is String___gc and I need to pass a string to my class what should I do ?
here is a sample code of what i want to do:
-----in the main form i have got :
objectClass object;
object.run(textBox1->text);
---- the definition of run function in the object class is:
void object::run(string input) {}