Home » Archives for September 19th, 2009
Put Function in C++
Put Function in C++:
The “put” function is used to write a single character at a time into formatted (or sequential) input/output file.
The syntax of this member function is:
object.put (character);
Where:
Object: represents an object of ofstream (or fstream) class.
Put: represents a member function of the object.
Character: ...