图太小,上面内容为:
C:\PROGR~1\TURBOC~1\bin\RunTc.exe
NTVDM cpu 遇到无效命令
CS: 0000 IP:0077 OP:f0 37 05 0e 02 选择关闭终止应用程序
源程序:
#include <graphics.h>
int main()
{
int gdriver, gmode;
detectgraph(&gdriver, &gmode); /*自动测试硬件*/
printf("the graphics driver is %d, mode is %d\n", gdriver,
gmode); /*输出测试结果*/
getch();
initgraph(&gdriver, &gmode, "c:\\tc");
/* 根据测试结果初始化图形*/
bar3d(10, 10, 130, 250, 20, 1);
getch();
closegraph();
return 0;
}