Programmer's Wiki

A file is a form of portable storage of arbitrary information that are used by computer programs. Files are commonly stored as a sequence of a number of bytes in the computer's file system.

Files come in two main forms, text files and binary files. The difference between the two is that text files are human readable while binary files are not. Scripting languages store their instructions as a text file. Compiled languages on the other hand convert their instructions into a binary file instead.

Useful characters[]

in a text file a programmer needs to know where each line ends and when the file ends. Special characters are used to show this. Newline \n shows where each line ends. End of File EOF shows where the file ends.

Common file operations[]

External Links[]