Dear all,
     I have a class, for example, CObject, I want statement
like this:

     CObject O1;
//...O1's value is set.
     cout<<O1<<"\n";

     can output the value of O1 using format I wanted.
     How can I do that?

Sincerely Yours,

FengLou Mao
*******************************
ADD:Mr. FengLou Mao
    Peking University
    BeiJing
    P.R.China
Tel:86-10-62751490
Fax:86-10-62751725

Reply via email to