In order to vote, comment or post rants, you need to confirm your email address.
You should have received a welcome email with a confirm link when you signed up. If you can't find the email, click the button below.

@IllSlapU well there missing the params for main, should be int main(void) {} (or the params with args) also they never endl the cout, they also leak std which isn't a big deal here but if they use that in a include somewhere it's bad practice..

@hexc It's totally fine and actually good practice in most scenarios NOT to use std::endl but just use "\n" instead. Really the only thing here that isn't that great is using std namespace, but it doesn't do any harm in a "Hello, world!", so I don't see any real issues here.