Using TTieredTextBuffer in non-TTest classes

You can use TTieredTextBuffer in classes unrelated to testing. Here is a simple way to use it:

      void TSampleObject::SetMaxLength(long maxlength) // NOT a derived class of TTest
      {
          TTieredTextBuffer cout;
          cout << "maxlength = " << maxlength;
      }

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker