c++ - How do I detect a fatal error when fstream data is being written to disk? -


what's right way check no fatal errors have occurred after flushing data c++ fstream object?

as derivative of ios, fstream provides means check errors on i/o operations. can rdstate or can check good on stream errors.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -