摘要: #include <stdio.h> #include <time.h> int main() { enum Week { sun,mon,tue,wed,thu,fri,sat }; enum Week today; struct tm *p; time_t t; time(&t); p=loca 阅读全文