Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It would be great, if the MWE (and a special tag (?) for this) would create a document in some online LaTeX, like WriteLaTeX or ShareLaTeX.
Like it is done on en.cppreference (see the run this code button).
run this code