我有一個程序,並在win95舊機器上工作。我想在win xp上工作,並希望在xp上執行此程序。應用程序使用一些硬件(插入isa插槽的兩張卡)。我有應用程序soruce代碼,但代碼不支持在XP上。例如,graphics.h,eg_proto.h,color.h,wg_var.h頭文件在現代編譯器上沒有任何地方。我有渦輪C 1.0編譯器,但不支持我這種情況。我有一個程序,在win95上工作,我沒有在winXP編譯
那麼,我該怎麼處理這種情況呢?你會提出任何關於?
從源代碼的一些頭文件:
#include <ctype.h>
#include <color.h>
#include <stdlib.h>
#include <errno.h>
#include <alloc.h>
#include <time.h>
#include <dir.h>
#include <process.h>
#include <eg_proto.h>
#include <pchrt.h>
#include <stdio.h>
#include <stdlib.h>
#include <dos.h>
#include <math.h>
#include <string.h>
#include <dw.h>
#include <dwdata.h>
#include <wdh.h>
我不知道一些頭文件什麼。例如,dw.h,dwdata.h,wdh.h.我沒有找到關於這個頭文件的任何描述。
編輯: 我的編譯器是Turbo C的2.01
http://i.stack.imgur.com/LQFnI.jpg
Turbo C 1.0?.. .. – NPE
您需要專業人士的幫助才能完成代碼轉換...從查看標題中找出系統的功能並不容易。 –
@aix:http://en.wikipedia.org/wiki/Borland_Turbo_C我很驚訝他有一個1987年的工具.. – halfdan