|
![]() | 作者: wangdong11 [wangdong11]
![]() |
登录 |
# include "graphics.h" # include "screen.H" main() { int y; mode(4);/*set the graphics mode*/ palette(0);/*set the palette to red green,yellow*/ color(2);/*set the color to red*/ for(y=10;y<=20;y++) point(10,y);/*display the line*/ } 在上面的画图程序中,用到了screen.h头文件,但是tc2.0没有这个头文件啊!有谁能点意见啊! |
地主 发表时间: 11/17 22:15 |
![]() | 回复: 286 [unique] ![]() |
登录 |
那个头文件一定是该程序作者自己编的.所以你可以到你下载该程序的站点再找找,说不定能找到. 即使找不到也没关系,因为我看那程序本身并不难,只是在屏幕上简单画几个线点之类的东东,你不妨自己编写一个,遇到问题,大家可以帮你解决. |
B1层 发表时间: 11/18 09:17 |
![]() | 回复: wangdong11 [wangdong11] ![]() |
登录 |
楼上的很感谢你给你意见! 我仔细想了想!这个程序是在window下运行的! 会不会因为只能在dos下运行呢? screen.h是不是调用了bios中断服务!? |
B2层 发表时间: 11/18 18:27 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号