c - Linux Ubuntu Cinnamon 上的 VirtualBox 中的代码 C 标准输出
问题描述
我尝试在 Virtual Box 上的 VM 上编写我的第一个 C 程序,并通过 YouTube 教程完成。现在我想编写一个“Hello World!” 程序。但问题是,VM 上似乎不存在 stdio.h。我做了一个更新,但它也没有帮助。
#include <stdio.h>
有人可以帮我解决这个问题吗?
first.c:1:10: fatal error: stdio.h: No such file or directory
1 | #include <stdio.h>
| ^~~~~~~~
compilation terminated.
解决方案
推荐阅读
- javascript - 为什么当我通过 fetch API 请求记录我的 React 状态 setState 时会收到两个响应?
- java - 有没有办法使用 Apache Commons Digester 从 xml 中添加 Arraylist 中键的所有值?
- ios - 图像不是从一个 VC 到另一个 VC
- matlab - 如何在 matlab 或 simulink 中对组合(电气和机械)系统执行鲁棒控制
- python - Python 单元测试 - 运行时的模拟补丁?
- aws-lambda - 带有 API Gateway 的 AWS Lambda 返回 500 错误并带有 hello-world 蓝图
- express - Sequelize 关联不正确
- mysql - 通过 SSH 将 Jetbrains DataGrip 连接到远程数据库
- r - 将列名向量传递到 dplyr::summarize 以获得最大/最小
- c - 如果第一个产品不在范围内,结构价格过滤器不会提供任何内容