when i compile this code i get an error:
error C2447: '{' : missing function header (old-style formal list?)
Anyone knows how to fix?Code:;void IntDEBUG();
{
int hCrtIn, hCrtOut;
FILE conIn, conOut;
AllocConsole();
hCrtIn = _open_osfhandle ((intptr_t) GetStdHandle(STD_INPUT_HANDLE), _O_TEXT);
hCrtOut = _open_osfhandle ((intptr_t) GetStdHandle(STD_OUTPUT_HANDLE), _O_TEXT);
conIn = _fdopen( hCrtIn, "r" );
conOut = _fdopen( hCrtOut, "w" );
stdin = conIn;
stdout = conOut;
}

