I'm very new at coding. I dowloaded VSCode to practice C.`I copied a line of code from the internet, the "Hello World". As I try to run it, my terminal shows this:
none C:\Users\Selene_514\Desktop\C CPP>cd "c:\Users\Selene_514\Desktop\C CPP" && gcc hello.c -o hello && "c:\Users\Selene_514\Desktop\C CPP"hello c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../libmingw32.a(main.o):(.text.startup+0xc0): undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status.
I installed MinGW and changed the environment path properly. What should I do?