> ~ Online tutorial


File Handling Functions
Most of the high level input/output functions which deal with files are easily recognizable in that they start with the letter `f'. Some of these functions will appear strikingly familiar. For instance:
fprintf()
fscanf()
fgets()
fputs()

These are all generalized file handling versions of the standard input/output library. They work with generalized files, as opposed to the specific files stdin and stdout which printf() and scanf() use. The file versions differ only in that they need an extra piece of information: the file pointer to a particular portal. This is passed as an extra parameter to the functions. they process data in an identical way to their standard I/O counterparts. Other filing functions will not look so familiar. For example:
fopen()
fclose()
getc()
ungetc();
putc()
fgetc()
fputc()
feof()


Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: