Guys, what about a code-coloring script to the forum?
This will be very nice for posting source-code, and it's not difficult to build something like that. What you guys think about this idea?
Hmm, the script could be Client-side or server-side no matter...
Look an example:
Code:#include <stdio.h> #define FOO 10 int main(void) { char foo; int foo2; printf("This is green"); for (foo2 = 0; foo2 <= 10; ++foo2) printf("%d\n",foo2); return 0; //comment here, return ok }