|
-
Aug 21st, 2001, 12:48 PM
#1
Thread Starter
Lively Member
File Output
I am assigning text from an edit box to a string variable and trying to output then string to a text file. I the file created but there are some symbols and a "null" and the end of the line. This is the code I used:
try
{
ostream = new DataOutputStream(new FileOutputStream("temp.dat"));
ostream.writeUTF(stCombinedRecord);
ostream.close();
}
catch(IOException e)
{
System.exit(1);
}
Any help is awesome!!!!!!
Don't ever Ginop before you Ginip 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|