Hello, i installed visual studio code on manjaro and when i try to run a code this error appears.
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/…/…/…/…/lib/Scrt1.o: in function `_start’:
(.text+0x24): undefined reference to `main’
collect2: error: ld returned 1 exit status
how can i solve? thanks for the support