Forum Feedback More options for code tag?

Status
Not open for further replies.

hammerhead

Inactive
Discoverer
Can we have more language options for code tag. For example

C:
or [CODE=C++]

or can we have line number displayed also in the existing code tag. I was facing a problem while replying in the programming section as I could not refer to the line number to point out the mistake.
 
try using [noparse]
PHP:
[/noparse] tags for now.

PHP:
#include <stdio.h>
void main()
{
    int nNumber;
    int *pPointer;

    // now, give a value to them:

    nNumber = 15;
    pPointer = &nNumber;

    printf("nNumber is equal to : %d\n", nNumber);
    *pPointer = 25;
    printf("nNumber is equal to : %d\n", nNumber);
}
 
It would be cool if line numbers could be displayed. Its much easier referring to the line number to help someone.
 
Status
Not open for further replies.