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/concstr.cpp

10 lines
162 B
C++
Raw Permalink Normal View History

#include <string.hpp>
void main( void ) {
char *pch = "Open Watcom C++";
String s (pch);
cout << "The string is \"" << s << "\"" << endl;
}