PDA

Click to See Complete Forum and Search --> : class cCPPCODE


Microbasic
Jul 13th, 2002, 03:16 PM
I think we should have a few more code tags, most notably a c code tag, like a [ccode] that would produce:


#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]:


<html>
<head>
</head>
<body>
<input type="button" name="hh" value="ClickME!" onclick="alert('You Clicked Me!')">
</body></html>

parksie
Jul 14th, 2002, 05:37 AM
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.