Log in

View Full Version : Forum Code tags w/ a C++ Syntax



Lorenc
09-04-2011, 04:01 AM
Title basically says it all, would be very useful, and much tidier for me, so I can read code :P

[ pawn] [ /pawn] can be used :P

Crawdy
09-04-2011, 11:17 AM
There no ? XD

foxtacles
09-04-2011, 11:28 AM
There is [ php], it has similar syntax ;)

Lorenc
09-04-2011, 12:29 PM
do
{
}
while(a < a--);


Sorry just trying it out :P

Isn't there any C++ ones D;

cerber
09-05-2011, 03:01 PM
I won't offtopic but are there work
...

Can I use border for tables? Do it work?

foxtacles
09-05-2011, 03:45 PM
There is now a Geshi BBcode available. Use it like [ code=language]your code[ /code]. Language can be cpp, c and so on.



unsigned int foobar = 3;
printf("foobar %d", foobar);


BBcode [ table] exists by default.

Lorenc
09-09-2011, 10:47 AM
do { this.Cat(player, 12345); }

@Cat(playerid, no)
{
return (no);
}

Thanks alot recycler, this is really handy