编译c语言的时候有没有出现这个问题呢/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
很简单的一步就能搞定 Ctrl +s就行,或者打开vscode的自动保存,在文件那一栏
编译c语言的时候有没有出现这个问题呢/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
很简单的一步就能搞定 Ctrl +s就行,或者打开vscode的自动保存,在文件那一栏