Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Std/FilesystemAccess/BinaryFiles

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A binary-standard-file is opened by FILE* poFile = fopen("pathandfile", "w+b"); and closed by fclose(pofile);. The file has a "seek-pointer", which is the position (measured from the file's beginning) where the next fwrite() or fread() operation will occur. That seek-pointer could be queried by ftell() or moved by fseek(). Additional information about binary files