Writing a String to a file

Hi,

I'm trying to get information from a edit box (using Borland) and then put whatever they type into the edit box to be put into a file and then later the file contents will be displayed.
But I'm having trouble getting the edit box text to write to the file because it is a string.

Help please. :(
http://www.cppreference.com/cppio/examples.html

That should set you right. You can >> and << using strings to files.
Topic archived. No new replies allowed.