摘要:
1 #include 2 #include 3 #include 4 5 int main(int argc,char **argv) 6 { 7 time_t time_now; 8 struct tm *curr_time = NULL; 9 time(&time_now); 10 printf("time_now:[%ld]\n",... 阅读全文
摘要:
1 #include 2 #include 3 #include 4 #include 5 /**chartoasc:char -> ascii**/ 6 int chartoasc(char c) 7 { 8 int i=0; 9 i = c; 10 return i; 11 } 12 /**asctochar:ascii -> char**/... 阅读全文