this question has answer here:
i'm new in c++, , try print 'hello world'.
#include <iostream> using namespace std; int main() { cout << 'hello world!'; return 0; } but in result got '1919706145'. i'm doing wrong?
strings represented ", not '
#include <iostream> using namespace std; int main() { cout << "hello world!"; // use " not ' return 0; }
Comments
Post a Comment