Hello all. I am making my first hello world program in C, and I have already run into issues.
#include <stdio.h>
int main()
{
printf( "Hello World\n" );
getchar();
return 0;
}
I am getting two errors when I try to run this.
C:\Users\Wiseguy\Documents\CodeBlocks\firstproject\firstproject.c|4|multiple definition of `main'|
and
obj\Debug\main.o:C:\Users\Wiseguy\Documents\CodeBlocks\firstproject\main.c|5|first defined here|
I feel stupid for posting this, but I am stuck. How do I correct these errors?