本文实例为大家分享了C语言实现电子时钟程序的具体代码,供大家参考,具体内容如下
Qt 里面运行
#include<windows>
#include <stdio>
#include <stdlib>
#include <conio>
#include <time>
typedef struct
{
int x;
int y;
}Point;
time_t now;
struct tm *pt, t1, t2;
int printpoint(Point p)
{
Point p1;
p1.x = p.x + 2; p1.y = p.y + 4;
go