c语言如何计算两个时间相差多少

日期:2022-04-10 00:47:37 人气:1

c语言如何计算两个时间相差多少

/**

time.c

定义一个结构体实现两个时间的加减

*/

#include<stdio.h>

#include<string.h>

typedef struct

{

int seconds;

int minutes;

int hours;

}Time;

    A+
热门评论