home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / tutorial / welcome / oview.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-16  |  2.0 KB  |  42 lines

  1. /*+--------------------------------------------------------------------------+*/
  2. /*|                                                                          |*/
  3. /*| PROGRAM NAME: OVIEW                                                      |*/
  4. /*| -------------                                                            |*/
  5. /*|  A simple program used with VisualAge for C++ components and WorkFrame   |*/
  6. /*|                                                                          |*/
  7. /*| COPYRIGHT:                                                               |*/
  8. /*| ----------                                                               |*/
  9. /*|  Copyright (C) International Business Machines Corp., 1996.              |*/
  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.  
  24. #define WIN32_LEAN_AND_MEAN
  25. #include <windows.h>
  26.  
  27. #include <string.h>
  28. #include <iostream.h>
  29. #include "teststrg.hpp"
  30.  
  31. int main(void)
  32. {
  33.    TString test1;
  34.    test1.setString ("Welcome to VisualAge for C++")
  35.    test1.showString();
  36.    cout << "In Oview" << endl;
  37.  
  38.    Sleep(5000);
  39.  
  40.    return 0;
  41. }
  42.