This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/cplbexam/string/pubfun/opequal.cpp

13 lines
216 B
C++

#include <string.hpp>
void main( void ) {
String s1 ("Open Watcom C++"), s2, s3;
char *pch = "Open Watcom C++ compiler";
s2 = s1;
s3 = pch;
cout << s2 << endl;
cout << s3 << endl;
}