In this tutorial we will try to learn how to write simple files in C language. Writing/Reading the Text is very important for large-scale data processing. We will see how numbers, C++ objects, formatted text is stored in files.
We will also learn how to write binary and Character Files.
This C language article provides example of loading file (binary mode) into memory for later processing. Only standard libraries (stdio.h) are used, the source code is completly cross-platform.