在第一节课打印Hello World中遇见这样的错误怎么办
test.c:1:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ tokennclude<studio.h>
^
$ mkdir FishC
$ cd FishC/
$ mkdir sle2
$ cd sle2
$ vi test.c
$ gcc test.c -o test
test.c:1:7: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
nclude<studio.h>
^
本帖最后由 临时号 于 2022-8-4 16:17 编辑
第一行改为
#include <stdio.h>
页:
[1]