HI I JUST START TO LREAN ABOUT C LANGAUAE AND I DONE SOME PROGRAME BY C LANGAUE....
I WOULD LIKE TO KNOW ABOUT
fflush
WHAT IS THIS FUNCTION STAND FOR? AND WHEN WE USE IT?

fflush() is one of the standard C routines for file manipulation. It causes the currently pending data, if any, to be 'flushed' (written) to disk. When you call fwrite(), the data may not be written to disk but may be storead in an internal buffer in order to speed up successive writes. fflush() writes the buffer to disk if it has unwritten data in it.

It's use is not required, but useful if you want to be absolutely sure that some set of writes has completed before, say, responding to a request. That way, should the machine crash your data is likely to be safe on disk.

hmm...)
thanks aloooooooooooooot:)
now i get it..:)
i'll try to do aprograme using fflush function.......:)
and..i'll show u when i'll finesh..
thansk again...fpr infromation..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.