1.ååç³»ç»çç³»ç»åç±»
2.求用C++日历源代码
ååç³»ç»çç³»ç»åç±»
å¨äºå¤§å®¶å享ä¹åï¼æ们å 对å è´¹ãå¼æºåéæºè¿è¡ä¸ä¸ªåè¯è§£éï¼å è´¹ï¼è½¯ä»¶åä¸æ¶åç¨æ·ä»»ä½è´¹ç¨å¯¹å ¶æä¾è½¯ä»¶ä½¿ç¨ï¼ä½æ¯æºä»£ç æ¯å¦å ¬å¼åå 费没æå¿ ç¶å ³ç³»ï¼
å¼æºï¼è´¹ç¨é®é¢ç±è½¯ä»¶åææ¡ï¼ä¸ä¸å®å è´¹ï¼èæ¯æ软件åå¼æ¾ååç³»ç»çæºä»£ç ï¼
éæºï¼è´¹ç¨é®é¢åæ ·ç±è½¯ä»¶åææ¡ï¼ä¹ä¸ä¸å®å è´¹ï¼æ¯æ软件åå ³éååç³»ç»çæºä»£ç ã
åè¯è§£éå®æ¯ä»¥åï¼æ们就å½å ååç³»ç»çå¼éæºæ åµè¿è¡ç®åçåæã ç®åå½å çä¼å¤å家éåçæ¹å¼å¤§è´ä¸æ ·ï¼å¯¹å¤æä¾æ¼ç¤ºçæ¬ï¼ç¨ä»¥ç¨æ·å è´¹ä¸è½½åä½éªï¼å½ç¶æ确表示ï¼ç¨æ·å¨æªè·å¾è½¯ä»¶åä¸ææåï¼ä¸è½å°ä¸è½½è½¯ä»¶åºç¨äºåä¸çå©æ§ç¨éãè¿ç§æä½ææ³çç®çå¾æç¡®ï¼ä»¥å 费为å±å¤´å¸å¼ç¨æ·ä½¿ç¨ãæå±å¸åºç©ºé´ãå é¢å¸åºä»½é¢ï¼ä»èæå»ç«äºå¯¹æï¼å½¢ææ ¸å¿ç«äºåã
å ¶å®è¯´å°åºï¼å¤©ä¸æ²¡æå è´¹çåé¤ï¼å家们é½æ¯è±äºæ¶é´åéé±å¼ååºæ¥ç产åå°±æ¯ä¸ºäºå è´¹ä¾ç¨æ·ä½¿ç¨åï¼å½ç¶ä¸æ¯ï¼åªæ¯å©ç¨å 费为诱饵å¸å¼ç¨æ·ï¼æç»ä½ 使ç¨ä¹ æ¯äºãä¾èµäºï¼è¦ç¨äºåä¸æ´»å¨ï¼ä»æ¬¾ä¾¿æ¯çæå½ç¶çãè¿æ©ä¹äºã å¼æºåéæºåªä¸ªå¥½ï¼å ¶å®æ²¡ç¨æç¡®çæ åï¼åèéæºååç³»ç»å¨å½å 使ç¨æ´å 广æ³ï¼æ以ä¸é¢ä¸»è¦ä»ä¸¤ä¸ªæ¹é¢å大家å享ä¸ä¸éæ©åªç§ååç³»ç»æ´éåèªå·±ã
1ãå®å ¨
å¼æºï¼ç论ä¸è¯´å¼æ¾æºä»£ç ï¼æ¼æ´é常被é»å®¢åç°ï¼å¥½åæ¯è¾å±é©ãå ¶å®åè¿æ¥æèï¼å¼æºä¼å¸å¼å¾å¤ä¸ä¸äººåå´è§åç 究ï¼ä¸äººè¡å¿ ææå¸çï¼ç³»ç»æ¼æ´åbugé½å¾å®¹æ被人åç°ï¼å½ç¶ä¹å°±è½å¤å¾å°åæ¶ä¿®å¤ã
éæºï¼ä¸¾ä¸ä¸ªä¾åï¼å¾å¤äººé½çæçéæºååç³»ç»shopexï¼å¯æ¯è¿å å¹´é½è¢«é»å®¢å©ç¨SQLæ³¨å ¥æ¼æ´ç ´è§£ç¨æ·å¯ç çä¾åé½æå¾å¤ãè½ç¶ç®åå½å å¸åºå¤§å¤æ°è¿æ¯éæºååç³»ç»ï¼æ¯å¦ECï¼ï¼ä½æ¯å¼æºåéæºé½ä¸è½å¤ä¿è¯ç»å¯¹çå®å ¨ï¼å®å ¨æ§æ主è¦è¿æ¯ä¾èµäºç³»ç»ç严谨æ§ï¼èä¸æ¯å¼æºæéæºã
2ãæå±æ§
å¼æºä¸éæºååç³»ç»é½å ·æå¯æå±æ§ï¼å¨ç½ä¸ååç使ç¨è¿ç¨ä¸ï¼ç¨æ·é¾å ææ°åè½ãæ°éæ±å¢å ãè¿æ¶å¼æºç¸æ¯äºéæºç¨æ¾ä¼å¿ï¼ç¨åºåå¯æ ¹æ®å¼æ¾ä»£ç è¿è¡ä¿®æ¹åäºæ¬¡å¼åï¼å¢å æ°åè½ã
求用C++日历源代码
那更简单,源码numberone源码下载改好了
#include <stdio.h>
#include<conio.h>
#include<stdlib.h>
int IsLeapYear(int);
void main()
{
int i;
int day;
int year;
int month;
int temp;
int temp_i;
long int Year_days = 0;
int Year_Start = 1;
int Per_Year_Days;
int month_day[]={ ,,,,,,,,,,,,};
printf("Please enter the year: ");
scanf("%d",&year);
//printf("Please enter the month, enter 0 for the whole year: ");
//scanf("%d",&month);
month=0;
while(Year_Start < year)
{
if( IsLeapYear( Year_Start ) )
Per_Year_Days = ;
else
Per_Year_Days = ;
Year_days = Year_days + Per_Year_Days;
Year_Start++;
}
for( temp = 1; temp <= && (month*(temp-1)==0); temp++ )
{
if (month!=0) temp=month;
switch(temp)
{
case 1:
printf(" January(%d)\n",year);
break;
case 2:
printf(" February(%d)\n",year);
break;
case 3:
printf(" March(%d)\n",year);
break;
case 4:
printf(" April(%d)\n",year);
break;
case 5:
printf(" May(%d)\n",year);
break;
case 6:
printf(" June(%d)\n",year);
break;
case 7:
printf(" July(%d)\n",year);
break;
case 8:
printf(" August(%d)\n",year);
break;
case 9:
printf(" September(%d)\n",year);
break;
case :
printf(" October(%d)\n",year);
break;
case :
printf(" November(%d)\n",year);
break;
case :
printf(" December(%d)\n",year);
break;
}
i = Year_days % 7;
printf(" Mon Tue Wed Thu Fri Sat Sun\n");
if( i != 0 )
for( temp_i = 0; temp_i < i*4; temp_i++)
printf(" ");
day = 1;
if( IsLeapYear(year) && temp == 2)
while( day <= month_day[] )
{
if( day >1 )
if( Year_days % 7 == 0 )
printf("\n");
if( day >= )
printf("%4d",day);
else
printf("%4d",day);
Year_days++;
day++;
}
else
while (day <= month_day[temp-1])
{
if( day > 1 )
if( Year_days % 7 == 0 )
printf("\n");
if( day >= )
printf("%4d",day);
else
printf("%4d",day);
Year_days++;
day++;
}
printf("\n");
if( getch() == 'q' )
exit(0);
}
getch();
}
int IsLeapYear( int year )
{
if ((year %4 == 0) && (year % != 0) ||
(year % == 0) )
return 1;
else
return 0;
}