如果使用 DOSBox 在 Windows 7 中安装 turbo coplier,那么您如何通过命令提示符编译和运行。我试过使用环境变量-path设置。但是当我运行程序时
C:\TurboC++\Disk\TurboC3\BIN\tcc Test.c
Turbo c++ Version 3.00 Copyright (c) 1992 Borland
International:
Error test.c 1:Unable to open include file 'stdio.h'
Error test.c 2:Unable to open include file 'conio.h'
*** 2 errors in Compie ***
Available memory 4134742
C:\TurboC++\Disk\TurboC3\BIN\
==================================== test.c
#include<stdio.h>
#include<conio.h>
void main()
{
printf("Hello command prompt");
getch();
}