Networking, Programming and Graphics Tutorials

File system Basics - C++ [1/1]

Type:
File system Basics - C++
Level: Expert Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
File system Basics - C++
Date: 2006-Dec-12
File system Basics - C++
Visited: 1372 times
File system Basics - C++
Rating: File system Basics - C++
File system Basics - C++
Author: Alex Plumpton

The ANSI file system is composed of several interrelated functions. The most common of these are shown in the table. These functions require that the Header file STDIO.H be included in any program in which they are used.

Name Function
fopen() opens a file
fclsoe() closes a file.
putc() write a character to a file.
fputc() same as putc().
getc() reads a character from a file.
fgetc() same as getc().
fseek() seeks to a specified byte in a file.
fprintf() Is to a file what printf() is to a console.
Fscanf() Is to a file what scanf() is to a console.
Feof() Returns true if end of file is reached.
Ferror() Returns true if an error has occurred.
Rewind() Resets the file position indicator to the beginning of the file.
Remove() Erases a file.
Fflush() Flushes a file.
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - File system Basics - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: file system basics c++  c++ file system basics  basics of file handling C++  file system in C++  "ANSI file system"  tutorial for file system management  linux tutorials:check repair file system in linux  system proparties  how to check my system  SYSTEM RESTORE  how to check my system  3d max animation with particular system  how to check system version on xp  animation of the breaking system  particle system animation for 3d max  Checking the .Net version on the system  animation crystal system  rendering system beginner  breaking system animations  mental ray rendering system