CodeClerks

Discussions about File

Showing page: 1 of 1

Detection of the end-of-file condition is necessary for preventing any further attempt to read data from the file. An ifstream object, such as fin, returns a value of 0 if any error occurs in the file operation inc...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago

    The function open() can be used to open multiple files that use the same stream object. For example, we may want to process a set of files sequentially. In such cases, we may create single stream object and use it to ope...

  • NomanProdhan
    NomanProdhan Level 1
  • 0 7 years ago