cplusplus.com cplusplus.com
cplusplus.com   C++ : Articles : Publishing on cplusplus.com
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forum
Articles
Publishing on cplusplus...
Making Games in C++
Exceptions where arrays...
The difference between ...
Array is not pointer

-

Publishing on cplusplus.com

Published by admin
Last update on
Some sections are open to user-contributed content.

You are required to be a registered member in order to submit content to be published in cplusplus.com. If you have not yet done so, you can click here to signup for an account and become a registered member. It's free!

Please bear in mind that not all sections are open to member publishing. At this moment only those ones where this feature is specifically stated allow user-contributed content. All content must be approved by our staff before becoming available online in the website. Only content that fulfills the guidelined quality standards and principles of this website are approved and kept in our servers.

The sections open to user contributions have a button in the bottom inviting elegible users to publish a new document. You must be logged in in order for this button to appear (which requires javascript and cookies enabled in your browser). If the button does not appear, that means you are not allowed to publish your own content there.

Format

The format used for documents is text, not html!
You can write your article in plain text, which is fine, but you also have the possibility to enrich your text with a limited number of special tags which are very similar to the simple angle-bracketed html tags, but with square brackets instead ([]). The tags allowed are:

[b] [i] [u] [big] [small] [sub] [sup] [cite] [em] [s] [strike] [strong] [tt] [var] [center] [blockquote] [ol] [ul] [li] [pre] [dt] [dd] [dl] [table] [tr] [th] [td]

and their corresponding closing tags:
[/b] [/i] [/u] [/big] [/small] [/sub] [/sup] [/cite] [/em] [/s] [/strike] [/strong] [/tt] [/var] [/center] [/blockquote] [/ol] [/ul] [/li] [/pre] [/dt] [/dd] [/dl] [/table] [/tr] [/th] [/td]

Their meaning is exactly the same as their html angle-bracketed counterparts, except that these cannot take tag parameters and must always be closed by their corresponding closing tag, even in the cases when that is not a requirement in html.

Character Styles

Additionally, if you are unfamiliar with html syntax or if you simply prefer a shorter way to specify character styles, you can use the following syntax:

syntaxresult
[*bold*]bold
[~italics~]italics
[_underlined_]underlined
[=typewriter=]typewriter

Links

Links are inserted by placing an URL or a local address between double square-brackets:

syntaxresult
[[http://www.cplusplus.com/]]http://www.cplusplus.com/
[[http://www.cplusplus.com|click here!]]click here!
A pipe character (|) is used to specify an alternative text for the link.

Images

If the section for which you are writing the article allows images, the submission form will contain options to upload your own image files at the bottom. In order to embed these images into the article, the syntax is the same as for links but using just the image filename:
[[myimage.jpg]] would insert an image that was uploaded as myimage.jpg.

Code

C++ code can be inserted by enclosing the code between [code] and [/code] tags:

[code]
int main()
{
return 0;
}
[/code]

This produces the following output:

int main()
{
 return 0;
}

© cplusplus.com, 2000-2007 - All rights reserved
Spotted an error? - contact us