Those operators are there so you can use it with cout and the other iostream objects. Like this:
Friends fr;
fstream fin("data.dat", ....);
fin >> fr; // reads in all necessary information from a file
cout << fr; // output to console
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |