• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

README: Use [code][/code] tags!

Status
Not open for further replies.
Super-Moderator
Staff member
Super-Moderator
Joined
Apr 28, 2007
Messages
1,502
Reaction score
760
If you would like your code to be shown properly, use the tags! It's a great way to keep your code readable for others because the indentation will be taken with it as well.

Example:

Without the code tag:
int useCodeTag, succeed;


if(useCodeTag == 1)
{
succeed = 1;
}
else
{
succeed = 0;
}

With the code tag:
Code:
int useCodeTag, succeed;


if(useCodeTag == 1)
{
    succeed = 1;
}
else
{
    succeed = 0;
}
 
Status
Not open for further replies.
Back
Top