Announcement
Post code
by bbi5291 on Feb 26, 2009 - 10:48:19 pm UTC
Oh yeah, Hanson installed a script that allows you to use the tags [ code] and [ /code] (only without those spaces) in order to post code; it also automatically highlights keywords and other things. It even autodetects whether the language is Pascal or C/C++.
C++:
Pascal:
C++:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
Pascal:
begin
writeln('Hello World!');
end.
Comments (Search)
It's quiet in here...