hello.c error:stdio nosuch file or directory

2024-10-14 13:00:04

1、#gcc -o hello hello.chello.c:1:16: error:stdio nosuch file or directory

hello.c error:stdio nosuch file or directory

2、报错信息提示为:hello.c 中找不到stdio 文件 错误在 1行16列其实这是辨析的时候差生的错误,告知头文件中不到

3、重新打开hello.c 文件。#vi hello.c进入插入喋碾翡疼模式将第一行中修改为#include <stdio.h>保存退出

hello.c error:stdio nosuch file or directory

4、重新编译 :#gcc -o hello hello.c运行:#./hello

猜你喜欢