Like Taytay I thought I would start with the simple Hello World code - here is the code I have sent to the builder (for .exe)
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");
return 0;
}
and here is the error message I am getting
Building fone.obj.
C:\Documents and Settings\Co-ordinator\My Documents\Pelles C Projects\pone\fone.c(4): warning #2203: Function 'main' can't be __stdcall, changed to __cdecl.
Building pone.exe.
POLINK: error: Unresolved external symbol '_WinMain@16'.
POLINK: fatal error: 1 unresolved external(s).
*** Error code: 1 ***
Done.
Clearly it is related to the way I have set up my project and illustrates my lack of understanding of the relationship between project and source files, and the basic use of the IDE. Can someone please give me a kick start.
Thanks
Paul