1、函数名: settime 功 能: 设置系统时间 原型:void settime 2、例程: #include stdio.h#include dos.hint main(void){struct time t;gettime(&t);printf(The current minute is: %d\n, t.ti_min);printf(The current hour is: %d\n, t.ti_hour);printf(The current hundredth of a second is: %d\n, t.ti_hund);printf(The current second is: %d\n, t.ti_sec);/* Add one to the minutes struct element and then call settime */t.ti_min++;settime(&t); //设置系统时间return 0;}