I have an existing program written in 'C' that I would like to add a UI to. I'm currently using C++ in Visual Studio to do it, with anto hold the original 'C' code.Code:extern "C" {make things go}
The problem is that the 'C' code requires a char * and the value from the UI textbox outputs a System::String type.
How can I convert the value from 'C++' 'textBox1->Text' (System::String) to a 'C' 'char * user_input'?