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 >
Wrap
Text File
|
1995-05-23
|
2KB
|
39 lines
/*+--------------------------------------------------------------------------+*/
/*| |*/
/*| PROGRAM NAME: OVIEW |*/
/*| ------------- |*/
/*| A simple program used with VisualAge C++ components and WorkFrame |*/
/*| |*/
/*| COPYRIGHT: |*/
/*| ---------- |*/
/*| Copyright (C) International Business Machines Corp., 1995. |*/
/*| |*/
/*| DISCLAIMER OF WARRANTIES: |*/
/*| ------------------------- |*/
/*| The following [enclosed] code is sample code created by IBM Corporation.|*/
/*| This sample code is not part of any standard IBM product and is provided|*/
/*| to you solely for the purpose of assisting you in the development of |*/
/*| your applications. The code is provided "AS IS", without warranty of |*/
/*| any kind. IBM shall not be liable for any damages arising out of your |*/
/*| use of the sample code, even if they have been advised of the |*/
/*| possibility of such damages. |*/
/*| |*/
/*+--------------------------------------------------------------------------+*/
#define INCL_BASE
#define INCL_NOPMAPI
#include <os2.h>
#include <string.h>
#include "teststrg.hpp"
#include <iostream.h>
int main(void)
{
TString test1;
test1.setString ("Welcome to VisualAge C++")
test1.showString();
cout << "In Oview" << endl;
DosSleep(5000); // Go to sleep for 5 seconds...
return 0;
}