Tag: File Handling

File Handling in C++

In C++, files are referred to as flow of streams (data) into and out of programs. Streams are basis data type to handle all input and output (I/O) operations. There are different kinds of streams of data flow for input and output. Each stream is associated with a class, which contains member functions and definitions for dealing with that particular kind of flow.

Read More

Copying One File to another in C

This is a simple C program that copies the contents of one file onto another file. It is similar to Unix’s cp  command. This C program is called with two parameters i.e. the names of two files. The contents of the file referenced in second parameter are copied onto the file which is referenced by first parameter. 

Read More
Mothers Day Gift Ideas