×Ô±àµÄ¼ÆËãÁ½¶Îʱ¼ä²îµÄC³ÌÐò
Á½¶Îʱ¼äÔÚÒ»¸öÔÂÄڵIJî¾àʱûÓÐÎÊÌâ
µ«ÊÇʱ²îÒ»´óÖ®ºóÊý¾ÝÒì³£
±¾³ÌÐòʱ²îÓÉÄ꿪ʼ¾«È·µ½Ãë
Ö÷ÌâÓ¦¸ÃûÓдóÎÊÌ⣬ϣÍû¶Ô´ó¼ÒÓÐÓã¬
ÁíÍâѰ¸ßÊÖ½â¾öʱ²î´óºó³ÌÐòÊý¾ÝÒì³£µÄÎÊÌâ
ллÁË
ÒÔÏÂÊÇÔ´´úÂë
#include <stdio.h>
#include <time.h>
#include <windows.h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
#include <conio.h>
void day(int o_year,int o_month,int o_day);
void times(int o_hour,int o_min,int o_sec);
struct p{
int day;
int hour;
int min;
int sec;
}p;
/*ÈÕÆÚ²î*/
int leap(int year) {
if( (year%4==0&&year%100!=0)||(year%400==0) ) return 1; else return 0;
}
int leftdays1(int year,int month,int day) {
int i; int days=0; int d[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
for(i=month+1;i <=12;i++) { if(i==2&&leap(year)==1) days+=29; else days+=d[i]; } days+=(d[month]-day); return days;
}
int leftdays2(int year,int month,int day) {
int i;
int days=0;
int d[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};
for(i=1;i <month;i++) {
if(month>=3&&i=
Óиöwinform³ÌÐò,ʹÓÃc#+mysql,ÐèÒªÔÚÒ»¸ö´°ÌåÉèÖÃmysql×Ô¶¯É¾³ý¹¦ÄÜ,°üÀ¨×Ô¶¯É¾³ý¶àÉÙÌì֮ǰµÄÊý¾ÝÒÔ¼°ÊÇ·ñ¿ªÆô×Ô¶¯É¾³ý¹¦ÄÜ,ÎÒ³ÌÐòÍ˳öºó,»¹Ôõô¿ØÖÆMysql×Ô¼ºÉ¾³ý°¡?ÊDz»ÊÇÒªÓÃmysqlµÄeventÀ´ÊµÏÖ?c#¿ÉÒÔµ÷ÓÃmysq ......
´ó¼ÒºÃ£¬ÕâÊÇÒ»¸öÖ÷ÒªÃæÏòc/c++/mfcµÄȺ£¬×î½ü½øÐÐÁËÒ»´Î´óÇåÀí£¬»¶Ó¸÷λ¸ßÊÖ¼ÓÈ룬ºÃѧ°®ÎʵÄÐÂÊÖ£¬Ò²¿ÉÒÔÉêÇëµÄ£¬ÉêÇë¸ñʽ Ö°Òµ£¨c/c++/mfc ÈÎѡһ»òÕ߶ࣩ ¹¤×÷ÄêÏÞ£¨Ñ§ÉúÖ±½Óд´ó¼¸£©¾ÍÐÐÁË£¬ÈëȺµÄÒªÇó¾ÍÊÇÒª» ......