File functions-Reading

fgetc fgets Return next line from a file, or the portion of it up to the buffer size limit: A better way of doing it fgets() doesn’t add a null character at the end of the read data and on some systems can fail to handle mac formatted text files correctly (0x0d only line endings). […]

Read More

File functions-Writing

fprintf() fprintf(FILE *stream, const char *StringAndAnyVariableTags); For the tags you can use see here. fputc fputs fwrite fflush() fflush(FILE *stream);

Read More

File functions

fopen() fopen(const char *filename, const char *access_mode) fseek ftell – get current position in file as an int long int ftell(FILE *stream) fgetpos fsetpos rewind fclose remove rename clearerr feof ferror

Read More