home *** CD-ROM | disk | FTP | other *** search
- /*+--------------------------------------------------------------------------+*/
- /*| |*/
- /*| PROGRAM NAME: OVIEW |*/
- /*| ------------- |*/
- /*| A simple program used with VisualAge for C++ components and WorkFrame |*/
- /*| |*/
- /*| COPYRIGHT: |*/
- /*| ---------- |*/
- /*| Copyright (C) International Business Machines Corp., 1996. |*/
- /*| |*/
- /*| 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. |*/
- /*| |*/
- /*+--------------------------------------------------------------------------+*/
-
- #include <string.h>
- #include <iostream.h>
- #include "teststrg.hpp"
-
- void TString::setString(char tname[])
- {
- strcpy(testString, tname);
- }
- void TString::showString()
- {
- // cout << "Test String = " <<testString << endl;
- cout <<testString << endl;
- }
-