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.
The following snippet will demonstrate how to interact with http://tinypic.com, an image mirroring service, directly from a C# application, using the WebRobot component available from http://foxtrot-xray.com/w eb-robot/
o why do we need FILES? What is the use of complicating the process of storing data?
Here is the answer for all these questions.
* The entire data is lost when computer is turned off or program is closed, but with the help of FILES we can permanently store data on the disk.
* It becomes difficult to handle large amount of data using console oriented I/O operations.