| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 668 人关注过本帖
标题:高手帮忙解决TC3.0的一个问题
取消只看楼主 加入收藏
xiaoxiaoniao
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2005-9-19
收藏
 问题点数:0 回复次数:0 
高手帮忙解决TC3.0的一个问题

#include<graphics.h> #include<conio.h> #include<dos.h>

void DrawWin(int WINX,int WINY,int WINWIDE,int WINHIGHT) //draw main frame of program { setcolor(WHITE); moveto(WINX+WINWIDE,WINY); lineto(WINX,WINY); lineto(WINX,WINY+WINHIGHT); moveto(WINX+WINWIDE-1,WINY+1); lineto(WINX+1,WINY+1); lineto(WINX+1,WINY+WINHIGHT-1); setcolor(DARKGRAY); moveto(WINX+1,WINY+WINHIGHT); lineto(WINX+WINWIDE,WINY); moveto(WINX+2,WINY+WINHIGHT-1); lineto(WINX+WINWIDE-1,WINY+WINHIGHT-1); lineto(WINX+WINWIDE-1,WINY+1); setfillstyle(SOLID_FILL,LIGHTGRAY); bar(WINX+2,WINY+2,WINX+WINWIDE-2,WINY+WINHIGHT-2); setcolor(DARKGRAY); moveto(WINX+WINWIDE-10,WINY+60); lineto(WINX+10,WINY+60); lineto(WINX+10,WINY+WINHIGHT-20); setcolor(WHITE); lineto(WINX+WINWIDE-10,WINY+WINHIGHT-20); lineto(WINX+WINWIDE-10,WINY+60); }

void main() { int driver=DETECT,mode; int NUM;

registerbgidriver(EGAVGA_driver); initgraph(&driver,&mode,""); DrawWin(200,250,250,100); setcolor(BLUE); outtextxy(210,320," Press any key to EXIT... ... "); getch(); closegraph(); } 这个程序时在树上下载的,文身么在TC3.0和BC上都不能连接呢? 编译都是对的啊!!!! 我得设置错了吗? 比如我得TC安装在 d盘根目录!!!! 、、帮忙解决啊!!! 急!!!

2005-09-22 00:55
快速回复:高手帮忙解决TC3.0的一个问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.034195 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved