=============================================CÓïÑԽű¾£¬ #include struct tm *timep; time_t c; c=time(0); int addresstochange=0x0096ABCC; timep=localtime(&c); if (timep->tm_sec>=30) *(int *)addresstochange=1000; else *(int *)addresstochange=2000; ===========================================