C语言编一个时钟面版

来源:百度知道 编辑:UC知道 时间:2024/06/06 20:20:31
具体要求就是先是有一个长方形框子 框子里是一个大圆 大圆里面套个小圆 两个圆之间是六十个刻度… 最后就是在长方形里面圆的上面写上 我们的时钟… 事关考试 高手帮忙啦!先谢了

抱歉,不知道怎么搞的,我机子的TC跑不出图形界面,不知道能帮上你不

http://zhidao.baidu.com/question/87335509.html
http://dnbcw.com/biancheng/html/c/BKOK4248.html

#include"stdio.h"
#include"graphics.h"
#include"math.h"
#include"time.h"
#include"dos.h"

int point_sec,point_min,point_hour;
int x,y,z;
int array_sec[60][2];
int array_min[60][2];
int array_hour[60][2];
int a[60][2];

void zhongmian()
{
int n,m,p;
x=320;
y=240;
z=140;
point_sec=132;
point_min=110;
point_hour=90;
setfillstyle(1,2);
setlinestyle(0,0,3);