Forget Code
  • Log in Sign Up
  • Log in
  • Sign Up
 

C

Add a new snippet
Algorithms13 Applications5 Arithmetic Operations2 Array8 Basics27 Compiler Design1 Control Statements4 Conversion Functions1 Data Structures12 Data Type1 Date Functions1 File36 Keywords1 Loops1 Math Functions30 Math Snippets43 Memory Management3 Misc4 Networking4 Operators6 Pointers17 String Functions30 String Snippets29 System Software10 Utility Snippets1

 
Copy one file to another file
rewind - Moves the file position pointer back to the start
ftell - Returns Current position of file pointer
fputs - Writes string to the stream
fgetc - Gets character from the stream and increments the file position pointer
Rename - Change the File name
fgetpos - Moves the file position pointer which is from fgetpos()
fputc - Writes a character to the stream
fflush - Force the buffer contents to be written to the file
ungetc - Put a character back to the input stream
tmpnam - Generates a unique filename
setbuf
fgets - Reads the file upto NULL pointer
fread - Reads The number of objects and Stores
Opening File
List files in directory
Clearerr
freopen - Associates existing stream with a different file
fwrite - Count number of objects
putc - Write the Charcater in the file
tmpfile - Open temporary file and read/write and returns
fclose - Closes the file
fopen - Opens file by using file pointer
fscanf - Reading the line by line from the file until the end of file
setvbuf - sets the buffer for stream to be buffer, with a size of
ferror - Check File Errors
fprintf - Diplay the Values/Strings from file to Stream
fseek - Move to the File position Specified by the user
remove - Removing/Delete File from the disk
snprintf - identical to sprintf() except that a maximum of num-1 characters will be stored
perror - Display the error by using the default function
sprintf - is identical to printf() except that the output is a char array
read input
Merging the Files
Binary Read operation
Delete File from Storage
© Forget Code 2023
  • About
  • |
  • Feedback

    Feedback

  • |
  • Sitemap