Hacker News new | ask | show | jobs
by captaincrunch 397 days ago
just a formatting issue on my side, there were \n.
2 comments

This website eats newlines, unless you double them (one of the annoying features of markdown). You can use codeblocks by putting 4 spaces before each line:

    int main() {
        // this should be properly formatted
        return 0;
    };
If you fix it, other people can test your code without having to fix the syntax themselves first.