writing string into file before calling the close()
Posted
by navinbecse
on Stack Overflow
See other posts from Stack Overflow
or by navinbecse
Published on 2010-04-21T10:01:25Z
Indexed on
2010/04/21
10:03 UTC
Read the original article
Hit count: 128
c++
I am using ofstream() to write data into file, i want to program to perform such a way that it should be keep on writting the string into the file as soon as the value gets assingned to string variable, and it should be writting before calling the close() for the buffer and while the program runs itself.
can anyone help me to do that in c++.........
© Stack Overflow or respective owner