Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Need help with simple code
(1/1)
ltheonel:
Hello,
nice board hope for more...
I set my compiler to work with Visual C++ 6 compiler,
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...
Jenna:
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 !!
Navigation
[0] Message Index
Go to full version