![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-18 09:47 |
47,814 topics / 349,907 posts / today 0 new / 48,259 members |
| DOS开发编程 & 发展交流 (开发室) » Help~~ About a noob problem with using TC2.01. |
| Printable Version 2,370 / 10 |
| Floor1 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
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啦~ |
|
| Floor2 Wengier | Posted 2002-11-01 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
Have you set the correct include file path?
|
|
| Floor3 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
No, where to set it? Help me~~~ Is it set in the DOS startup or in TC?
|
|
| Floor4 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
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...
|
|
| Floor5 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
I am now using that software in the DOS mode after exiting WIN98...
|
|
| Floor6 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
So there is no properly configured DOS, basically only the kind that runs with 640K...
|
|
| Floor7 roor | Posted 2002-11-01 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
I originally planned to install K2400 back to run DOS when I had free time a few days later...
|
|
| Floor8 MYS | Posted 2002-11-01 00:00 |
| 元老会员 Posts 1,637 Credits 5,170 From 广东佛山 | |
|
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.
|
|
| Floor9 dosguest | Posted 2002-11-01 00:00 |
| 中级用户 Posts 75 Credits 381 | |
|
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. |
|
| Floor10 yiyesong | Posted 2002-11-02 00:00 |
| 元老会员 Posts 632 Credits 1,987 | |
|
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.
|
|
| Floor11 roor | Posted 2002-11-03 00:00 |
| 初级用户 Posts 28 Credits 145 | |
|
Downloaded and used TC2.0 with MYS. Now the problem is solved. Thanks everyone.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |