China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 09:17
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Help~~ About a noob problem with using TC2.01. View 2,222 Replies 10
Original Poster Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
Here you can download the DOS tool TC2.0 to learn C language. Why does it always say that there is an error at the beginning of my program?

The program is as follows:
#include

ERROR D:\DOS\TC201\DISK1\HELLO.C 3: unable to open include file'stdio.h'

Obviously, the file STIO.H is there, but why can't it be opened...
How can I do to not have this error~~~ I'm a new learner of C language... Help me啦~
Floor 2 Posted 2002-11-01 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Have you set the correct include file path?
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
No, where to set it? Help me~~~ Is it set in the DOS startup or in TC?
Floor 4 Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
It's best to explain it in detail. ~~ I'm studying. PS: I play computer games a lot, but I'm a total layman when it comes to these problems...
Floor 5 Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
I am now using that software in the DOS mode after exiting WIN98...
Floor 6 Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
So there is no properly configured DOS, basically only the kind that runs with 640K...
Floor 7 Posted 2002-11-01 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
I originally planned to install K2400 back to run DOS when I had free time a few days later...
Floor 8 Posted 2002-11-01 00:00 ·  中国 广东 佛山 三水区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
This should be that TC isn't set up properly. Go to my website for netizens to request and download the improved TC. It's already set up and can be directly installed and used in WIN98.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 9 Posted 2002-11-01 00:00 ·  中国 江苏 扬州 电信
中级用户
★★
Credits 381
Posts 75
Joined 2002-10-15 00:00
23-year member
UID 6
Gender Male
Status Offline
1. Move the cursor to Options->Directories and press Enter;
2. Enter the directory where the file stdio.h is located. According to the information you provided, it should be D:\DOS\TC201\include.
3. TRY AGAIN.
Floor 10 Posted 2002-11-02 00:00 ·  中国 湖北 随州 电信
元老会员
★★★
Credits 1,987
Posts 632
Joined 2002-10-27 00:00
23-year member
UID 73
Gender Male
Status Offline
Actually, as long as you install or copy TC2.0 to the root directory of drive C (note that the TC directory should be included together, this is the default path set by TC), there will be no problem with setting the path. It is best not to put it in other directories, otherwise you will have to set the path every time you run it, which is too cumbersome. In addition, TC2 will not have any problems when used in the DOS mode of WIN98.
http://dos.e-stone.cn/dosbbs
uploadImages/200311161145850422.swf
Floor 11 Posted 2002-11-03 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
Credits 145
Posts 28
Joined 2002-10-22 00:00
23-year member
UID 41
Gender Male
Status Offline
Downloaded and used TC2.0 with MYS. Now the problem is solved. Thanks everyone.
Forum Jump: