Category : Files from Magazines
Archive   : CUJ9405.ZIP
Filename : TIE.C

 
Output of file : TIE.C contained in archive : CUJ9405.ZIP


------------- Listing 9: The function ios::tie(ostream *) --------------

// iostie -- ios::tie(ostream *)
#include

ostream *ios::tie(ostream *nt)
{ // set new tie
ostream *ot = _Tiestr;
_Tiestr = nt;
return (ot);
}