10 lines
205 B
C++
10 lines
205 B
C++
|
#include <string.hpp>
|
||
|
|
||
|
void main( void ) {
|
||
|
|
||
|
String s ("Open Watcom C++");
|
||
|
|
||
|
cout << "The first character of the string \"" << s
|
||
|
<< "\" is " << "'" << s.operator char() << "'" << endl;
|
||
|
}
|