You're viewing a single thread.
Should return 0;.
23 1 ReplyNot needed, main in C++ implicitly returns 0 if there is no return
25 1 ReplyShould ≠ Needs to
You can do it, and it will work, but it's unclean and not best-practice. I wouldn't be surprised if it's undefined behaviour.
8 8 ReplyJust to clarify. It is defined behavior - there's plenty of undefined behavior in C but that ain't one of them.
21 0 Reply
>What is C++? A miserable huge pile of "should"s
20 2 ReplyLove me some Castlevania++
8 0 ReplyStill love it tho. You can make it whatever you want!
1 0 Replyshould have a space after „>” and two new lines after „?”.
I guess markdown is miserable as well.
2 1 ReplyHey now, markdown serves it's purpose. It's not great, but as a web dev, I don't want people expecting full WYSIWYG editors in every website cause fuck that!
5 0 Replynot being able to master markdown might hint at why the commenter is struggling with C++
3 0 Reply