I’m new and having problem setting up c programming langguage in vs code, when i run it the output is
[Done] exited with code=1 in 0.176 seconds
[Running] cd “c:UsersUserDesktopvsCodeC language” && gcc test.c -o test && “c:UsersUserDesktopvsCodeC language”test
C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/libmingw32.a(lib64_libmingw32_a-crtexewin.o): in function main': C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:(.text.startup+0xbd): undefined reference to
WinMain’
collect2.exe: error: ld returned 1 exit status
can anyone help me
i rlly dont know what to do here plus im new to stack overflow and dont know where to ask
michael lou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.