hello.c error:stdio nosuch file or directory

 时间:2026-04-23 02:19:39

1、#gcc -o hello hello.c

hello.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

  • 转义字符有哪些
  • C语言中的assert函数用法
  • VS如何调整页面字体大小
  • 蓝桥杯练习——“字母图形” C语言解法
  • 零基础小白如何用VisualStudio2017写C语言程序
  • 热门搜索
    1月10日是什么星座 低血糖有什么症状 全面推进依法治国的总目标是什么 肩膀疼痛是什么原因 thin是什么意思 皮肤黑的人适合穿什么颜色的衣服 飞蚊症用什么眼药水 川流不息是什么意思 兵荒马乱是什么意思 包浆是什么意思