Hello Steven.
27 Oct 97 18:42, Steven Lei wrote to Vadim Ryzhankov:
SL> Oh, one thing... what command would you use to "close" a ASCII text
^^^^^ How do you open a
file? There are many methods for this. For example,
FILE *f=fopen ("My.txt", "w");
(Skip...)
fclose (f);
int handle=open ("My.txt", O_TEXT | O_WRONLY);
(Skip...)
close (handle);
ofstream my_stream ("My.txt");
(Skip...)
my_stream.close ();
SL> file after you're finished writing to it?
If file close with all close-functions (close, fclose, fcloseall,
ofstream::close) then all buffers would be throw down.
Did I understand your question?
Vadim
---
---------------
* Origin: ----> Default GoldED Origin <---- (2:464/34.52)
|