我被给予了修改一个1992年构建的MS-DOS程序的源代码。我有EXE文件,它可以正常运行,但我需要修改源代码。源代码需要以下头文件才能编译。
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <dos.h>
#include <dir.h>
#include <alloc.h>
#include <ctype.h>
#include <string.h>
#include <mem.h>
#include <values.h>
有人知道这个项目使用了什么编译器吗?是否有现代编译器可以处理它?我尝试使用Visual Studio 2010和GCC“开箱即用”,但失败了,因为缺少一些头文件(dir.h、alloc.h、mem.h、values.h)。