Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
A *lot* of people have a hard time getting source code to display correctly. It seems as though input is taken verbatim, then spat out at the browser, which means that if you want a less than or greater than sign to show up right in your message, you'll have to use the HTML things for them: > for >, etc.
It seems like it would be better to take input verbatim, then escape the HTML stuff when sending to the browser. Then you can simply type "#include <stdio.h>" and when sending the message to a browser, change the '>' and '<' characters to the HTML entities > and <. The problem with this, of course, is that you could no longer include HTML formatting in your messages, which a lot of people take advantage of.
An alternative idea: a "codebox" of some sort implemented with a form text area. A special tag in the message could set it off, then everything inside that tag would be "escaped" as described above, and displayed as the default text in a text area similar to the Message textbox used when posting a message.