下了turboC2.0的压缩软件却用不了

来源:百度知道 编辑:UC知道 时间:2024/09/15 00:17:29
解压在d盘可以运行,但连输出一个hallo,world一个最简单程序都在编译连接时出现错误,郁闷死了,哪位能帮个忙啊
但程序百分百是正确的,错误提示好象是“无法找到<stdio.h>的文件

就是少了一个库文件stdio.h而已。下面就是,你复制后命名为STDIO.H并保存到文件夹INCLUDE里面,看看行不行呀。

/* stdio.h

Definitions for stream input/output.

Copyright (c) Borland International 1987,1988
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif

#if !defined(__STDIO_DEF_)
#define __STDIO_DEF_

#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned size_t;
#endif
#ifndef NULL
# if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
# define NULL 0
# else
# define NULL 0L
# endif
#endif

#if !defined(__STDARG)
#include <stdarg.h>
#endif

/* Definition of the file position type
*/
typedef long fpos_t;

/* Definition of the control structure for streams
*/
typedef struct {
short lev