IT Acumens - A Web Designing Company

Tech News => Programming Stuffs in "C" => Topic started by: sukishan on Jul 10, 2009, 07:46 PM

Title: File Operation Functions in C
Post by: sukishan on Jul 10, 2009, 07:46 PM
File operation functions in C:  

Function Name and Operation

fopen()

Creates a new file for use
Opens a new existing file for use


fclose
Closes a file which has been opened for use

getc()
Reads a character from a file

putc()
Writes a character to a file

fprintf()
Writes a set of data values to a file

fscanf()
Reads a set of data values from a file

getw()
Reads a integer from a file

putw()
Writes an integer to the file

fseek()
Sets the position to a desired point in the file

ftell()
Gives the current position in the file

rewind()
Sets the position to the begining of the file

Title: Re: File Operation Functions in C
Post by: algeraadrian on Dec 18, 2010, 06:53 AM
The functions here listed are very good and awesome. I like it and particularly file operation functions are very good posted.