It is built with help ios_base::Init. The first time this object is created cout, friends are also created . If the last object is destroyed, coutand friends will be reset (call .flush()).
In C ++ 0x it will be guaranteed that if you enable it <iostream>, and using coutfriends afterwards #includewill use the constructed objects coutand friends. C ++ 03 says that
, , ios_base::Init , , main .