Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial 78: Chapter 6 - File I/O

You are here: Tutorials >> Basic >> C >> C Programming Basics >> Chapter 6 - File I/O

Tutorial ID78
TitleChapter 6 - File I/O

C File I/O

  • File I/O allows you to manipulate both text and binary file
  • All file I/O functions are declared in stdio.h
  • All file I/O functions takes a file pointer, FILE*, which can be obtained when you open a file
  • C provides you a few special file pointers which points to
    • standard input (stdin)
    • standard output (stdout)
    • standard error (stderr)
  • Of which can be used in file I/O functions
  • (just pass them as if they are normal file pointers)

Post Your Comment

Title
Message