-
class cCPPCODE
I think we should have a few more code tags, most notably a c code tag, like a [ccode] that would produce:
Code:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR command, int cmdShow)
{
HWND hwnd;
MSG msg;
WNDCLASSEX wndc;
//wndc.blah = blah
//I'm just going to skip the rest because you get the idea
}
or maybe [htmlcode]:
Code:
<html>
<head>
</head>
<body>
<input type="button" name="hh" value="ClickME!" onclick="alert('You Clicked Me!')">
</body></html>
-
It would only be possible to have the core keywords coloured, as things like HINSTANCE rely on it interpreting whatever headers you've included...
Although it's a nice idea.