Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: ltheonel on October 01, 2011, 02:58:33 pm
-
Hello,
nice board hope for more...
I set my compiler to work with Visual C++ 6 compiler (http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_C_6_with_Code::Blocks_IDE),
when i try to run the following code, i get no errors and no output...
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
printf("HelloWorld");
return 0;
}
When i try main(){ //do something } its working, maybe someone can help...
-
Please respect our forum rules.
You agreed with them, when you registered here.
This is not a general programming forum/website, so your question is violating our forum rules.
Topic locked !!