C语言初级问题,帮下忙了,谢谢了

来源:百度知道 编辑:UC知道 时间:2024/06/30 15:22:33
Error:unable to open include file ‘stdio.h’

#include “stdio.h”
main()
{ int a=-1;
printf(“%d\n”,a)
printf(“%u\n”,a)
}

这是什么意思啊,我刚刚学,都不懂,不明白哪有错,怎么改?希望大家指教了。
谁说的对啊。

unable to open include file ‘stdio.h’
路经错误
若你的TC2。0保存到D:\TURBOC2.0
在TC2。0下按ALT+O(字母O)
选择Drectories查看路经是否为:D:\TURBOC2.0如果不是全部改为D:
还有一个产生此错误的重要的问题:
你的TC2。0保存到D:\TC\TURBOC2.0,D:\C\TURBOC2.0
而你搞成D:\TURBOC2.0也会无法打开!
注意要是完整的路经,即具体的位置

#include “stdio.h”
你确定是stdio.h么?
不是 #include "stdafx.h"

stdio.h这句应该这样写:
#include <stdio.h>
因为 stdio.h是库文件,不是用户自己建立的头文件

别外,推荐你用WinTC,用的是TC的核心,但是比TC好用多了。WinTC,baidu一下!

不同意一楼,我的Tc是保存到C盘的,你也试试.以前我也经常碰见这种情况,保存到C盘就好了.

恩 直接把turboc2放到C盘