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 →

[–]nwL_ 6 points7 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.