I'm trying to compile a basic "hello world" file with the Open Watcom C++ compiler for Windows.
Here's the error I get:
wpp386 hello.cpp
Open Watcom C++32 Optimizing Compiler Version 1.8
Portions Copyright (c) 1989-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
hello.cpp(7): Error! E064: col(19) invalid character constant
hello.cpp: 9 lines, included 7673, no warnings, 1 error
And here's the file:
#include <IOSTREAM>
#include <STRING>
using namespace std;
int main()
{
string mystring = 'Hello world!';
cout <<mystring <<endl;
return 0;
}