home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / WELCOME / IMP.CPP next >
Text File  |  1995-05-19  |  2KB  |  37 lines

  1. /*+--------------------------------------------------------------------------+*/
  2. /*|                                                                          |*/
  3. /*| PROGRAM NAME: OVIEW                                                      |*/
  4. /*| -------------                                                            |*/
  5. /*|  A simple program used with VisualAge C++ components and WorkFrame       |*/
  6. /*|                                                                          |*/
  7. /*| COPYRIGHT:                                                               |*/
  8. /*| ----------                                                               |*/
  9. /*|  Copyright (C) International Business Machines Corp., 1995.              |*/
  10. /*|                                                                          |*/
  11. /*| DISCLAIMER OF WARRANTIES:                                                |*/
  12. /*| -------------------------                                                |*/
  13. /*|  The following [enclosed] code is sample code created by IBM Corporation.|*/
  14. /*|  This sample code is not part of any standard IBM product and is provided|*/
  15. /*|  to you solely for the purpose of assisting you in the development of    |*/
  16. /*|  your applications.  The code is provided "AS IS", without warranty of   |*/
  17. /*|  any kind.  IBM shall not be liable for any damages arising out of your  |*/
  18. /*|  use of the sample code, even if they have been advised of the           |*/
  19. /*|  possibility of such damages.                                            |*/
  20. /*|                                                                          |*/
  21. /*+--------------------------------------------------------------------------+*/
  22.  
  23. #include "teststrg.hpp"
  24. #include <string.h>
  25. #include <iostream.h>
  26.  
  27. void TString::setString(char tname[])
  28.    {
  29.    strcpy(testString, tname);
  30.    }
  31. void TString::showString()
  32.    {
  33. //   cout << "Test String = " <<testString << endl;
  34.    cout <<testString << endl;
  35.    }
  36.  
  37.