我正在尝试解决以下C程序中的错误,该错误是我在VSCode中进入终端的?
#include <stdio.h>
main()
{
printf("just one small step for coders.one giant leap for\n");
printf("programmers\n");
return 0;
}
以下是我在VSCode终端中编译时遇到的错误:
Undefined symbols for architecture x86_64:
"_main",referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)