Hello i am very new to visual studios and c++, but i have tried multiple different ways of trying to install it by multiple different tutorials and none seem to work, i must be doing something wrong.
#include<stdio.h>
int main(){
printf("Hello World");
return 0;
}
I am just trying to run a simple hello world command but get this error
[Running] cd "c:\AdamWilson\Code\Languages\C++\MightWork\" && gcc pleasework.c -o pleasework && "c:\AdamWilson\Code\Languages\C++\MightWork\"pleasework
C:/AdamWilson/Code/Languages/C++/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/lib/../lib/libmingw32.a(lib32_libmingw32_a-crt0_c.o):crt0_c.c:(.text.startup+0x39): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status