home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / WELCOME / OVIEW.CPP < prev    next >
Text File  |  1995-05-23  |  2KB  |  39 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. #define INCL_BASE
  24. #define INCL_NOPMAPI
  25. #include <os2.h>
  26. #include <string.h>
  27. #include "teststrg.hpp"
  28. #include <iostream.h>
  29.  
  30. int main(void)
  31.    {
  32.    TString test1;
  33.    test1.setString ("Welcome to VisualAge C++")
  34.    test1.showString();
  35.    cout << "In Oview" << endl;
  36.    DosSleep(5000);     // Go to sleep for 5 seconds...
  37.    return 0;
  38.    }
  39.