cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : Articles : How to: Put code into your postings
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

news  How to: Put code into your postings

Grey Wolf
When posting code in your question or answer; displaying the code in a nicely formatted manner helps all those involved in the tread to quickly understand the code.

To do this; follow one of these methods:

Method one:
In the edit window move the cursor to the position where you want to place the code.
Click the ‘#’ button (on the right of the edit window).
Back in the edit window, move the cursor to the position between the opening and closing code tags.
Then type or cut and paste your code.

Method two
In the edit window type or cut and pates your code.
Highlight all the code and then click the ‘#’ button (on the right of the edit window).

Method three
There is also the plain old fashioned way of typing [c0de] before your code and [/c0de] at the end. NB. use the correct spelling for code.
| Last edited on
ablya
thanks
|

Registered users can reply in this forum.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us