i am getting a function-definition is not allowed here before '{' tokenCode:LRESULT CALLBACK MDIChildWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { .... BOOL SetUpMDIChildWindowClass(HINSTANCE hInstance) { WNDCLASSEX wc; wc.cbSize = sizeof(WNDCLASSEX);
in many lines like the above two using dev-cpp
i do not understand why. i do this with borland meow and it compiles fine.
so what do i have to do to get these functions to work with dev-cpp?