The fstream.good() function is a member function of the C++ fstream class, which is used for both reading from and writing to files. This function is used to check if the file stream is in a valid state for performing input and output operations. It returns true if the last operation on the file stream was successful, and false otherwise. This function is often used in conjunction with conditional statements to determine if the file stream can be used for further operations.
C++ (Cpp) Fstream::good - 2 examples found. These are the top rated real world C++ (Cpp) examples of Fstream::good extracted from open source projects. You can rate examples to help us improve the quality of examples.