[프로그래밍/C] 일정관리프로그램
#include #include int main(void){ char calendar[12*31*100][26]; char *pData; char temp[100],gyear[100]; int i,j,week,year,month,day,th,count,lastday,tyear,mode,pos,tmonth; int num[12]={31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; FILE *file; for(i=0;i2025 || year12 || tmonth lastday) break; } printf("\n"); if (count > lastday) break; } printf("\nDAY: "); gets(temp); sscanf(temp,"%d",&day); i..