The problem is, that I cannot use a "system string" when writting to the file:
Expand|Select|Wrap|Line Numbers
- string ^textboxinput = textBox1->Text;
- ofstream File;
- File.open("newfile", ios::app | ios::out);
- File << "contents" << textboxinput << endl;
- File.close();
I need to know how to convert the system string to a string or char[] .
-Thanks