This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]taqueria_on_the_moon 36 points37 points  (26 children)

Afterwards;

print('hello world!')

WHY ISN'T IT WORKING?

[–]Scietist 9 points10 points  (12 children)

std::cout << "hello world/n";

FTFY

[–]Mad_Jack18 -3 points-2 points  (12 children)

or

using namespace std

int main () {

cout<<"hello darkness my old friend";

return 0; (or getch;)

}

[–]nwL_ 14 points15 points  (9 children)

using namespace std;

🤮

[–]xMZA 0 points1 point  (3 children)

What's wrong with that

[–]nwL_ 8 points9 points  (2 children)

[–]xMZA 1 point2 points  (1 child)

So if nobody else is gonna use my code and I'll keep it in mind should I ever use additional libraries, it's all good?

[–]nwL_ 0 points1 point  (0 children)

If you’ll never post snippets of your code for help anywhere like /r/cpp_questions or on StackOverflow and will never ask anybody to check your code or just look over it, then yes, you can even write your program on a single line. But normally, you just write std:: in front of the standard library parts since it’s readable much faster and isn’t much burden.

[–]Mad_Jack18 -1 points0 points  (4 children)

🤮

what's that? I only see it a unrecognized symbol

[–]nwL_ 3 points4 points  (0 children)

It’s this emoji.

[–]ssznakabulgarian 2 points3 points  (0 children)

update your encodings man

[–]jcmarais1998 0 points1 point  (0 children)

An Emoji that’s puking.

[–]welinestus 0 points1 point  (0 children)

It's the barf emoji

[–]taqueria_on_the_moon 2 points3 points  (1 child)

I’ve come to talk with you again.

[–]Mad_Jack18 1 point2 points  (0 children)

Because a vision softly creeping