10 lines
189 B
C++
10 lines
189 B
C++
#include <string.hpp>
|
|
|
|
void main( void ) {
|
|
|
|
String s ("Open Watcom C++");
|
|
|
|
cout << "The string \"" << s << "\" is "
|
|
<< ( valid( s ) ? "valid." : "invalid!" ) << endl;
|
|
}
|