[x]
Ever Worried about Missed / Lost Mobile Phone (or) Mobile Phone Theft ?
Use GinGly to Save your Mobile Numbers and Useful Messages
Limited Time Free Access .Hurry Up !!!


Login with username, password and session length
Resend Activation Email | Forgot your Password?
Join IT Acumens Discussion Zone Free!

Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on StumbleUponShare this topic on TwitterShare this topic on TechnoratiShare this topic on MagnoliaShare this topic on GoogleShare this topic on Yahoo

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: File Operation Functions in C  (Read 666 times)

Offline sukishan

  • Hero Member
  • *****
  • Posts: 2918
  • Acumen
    • View Profile
File Operation Functions in C
« on: July 10, 2009, 02:16:29 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
 
A good beginning makes a good ending

GoogleTagged