10 lines
174 B
C++
10 lines
174 B
C++
|
#include <string.hpp>
|
||
|
|
||
|
void main( void ) {
|
||
|
|
||
|
String s ("Open Watcom C++");
|
||
|
|
||
|
cout << "The length of the string \"" << s << "\" = "
|
||
|
<< s.length() << endl;
|
||
|
}
|