Linux问题处理: stdio.h: No such file or directory linux
本来打算编译一下《自制编程语言》一书的代码,结果提示错误:
其实说的还是很清楚的,一般出现这种情况都是没有安装相应的库,所以:
再次编译,成功:
测试代码:
# comment print("hoge\tpiyo\n\\zn"); print("abc\n"); print("3 + 5.." + (3 + 5) + "\n"); print("3 - 5.." + (3 - 5) + "\n"); print("3 + -5.." + (3 + -5) + "\n"); print("3 * 5.0.." + (3 * 5.0) + "\n"); print("3 / 5.0.." + (3 / 5.0) + "\n"); print("10 % 3.0.." + (10 % 3.0) + "\n"); print("3.0 + 5.." + (3.0 + 5) + "\n"); print("3.0 - 5.." + (3.0 - 5) + "\n"); print("3.0 + -5.." + (3.0 + -5) + "\n"); print("3.0 * 5.." + (3.0 * 5) + "\n"); print("3.0 / 5.." + (3.0 / 5) + "\n"); print("10.0 % 3.." + (10.0 % 3) + "\n");
输出:
以上,一次Linux问题处理。