Thursday, March 31, 2005

include <>

iostream, string and iomanip should be within <>. When the mentioned words are posted within <> they are not displayed on the screen. No idea why!!!

1 Comments:

At April 1, 2005 at 2:21 AM, Blogger PHPCoder said...

You're viewing the post via a browser.
Browser = 'software' one of whose main functions is to parse XHTML or HTML tags (all who are subsets of SGML) and anything within < and > is parsed as X/HTML and if the content within the tags is not recognized, it is disposed of when it comes to rendering the screen.

To avoid that, you could use HTML entities.

For example, instead of typing in < and > right away, you type this out where you typed this post:

#include &lt;iostream.h&gt;

and it would turn out looking like this when you preview:
#include <iostream.h>


Also, have a look at what you can do with the codeand pre tags :D

 

Post a Comment

<< Home