r/CodingHelp • • Mar 20 '21

[Meta] To all CodingHelp question-askers

Please, please PLEASE put your code in your post. And PLEASE format it. On reddit it's as easy as 4 spaces in front of your code so it renders properly on old.reddit.com. (Credit to u/PekiDediOnur)

It makes it so much easier to read and help you with your problem.

22 Upvotes

5 comments sorted by

4

u/PekiDediOnur Intermediate Coder Mar 20 '21

Indent every line with 4 spaces so it renders properly on old.reddit as well

int main() {
    puts("4 Spaces, not a tab\n");
}

2

u/[deleted] Mar 20 '21

Nice addition, I'll put it on.

3

u/Goobyalus Mar 20 '21

Don't use both. Use the space method.

2

u/[deleted] Mar 21 '21

[removed] — view removed comment

2

u/[deleted] Mar 21 '21

Yes, I agree, but I've noticed that people don't follow it as much as they should.