淡水求咸

博客园已经停止更新,请移步 http://lovecjh.com/

导航

2012年3月26日

计算下电脑的运算速度

摘要: 写下面程序来计算下我的电脑的运算速度:#include <stdio.h>#include <time.h>void Printlocaltime(void){ struct tm *timeptr; time_t secsnow; time(&secsnow); timeptr=localtime(&secsnow); printf("The date is %d-%d-20%02d\n", (timeptr->tm_mon)+1, (timeptr->tm_mday), (timeptr->tm_year)... 阅读全文

posted @ 2012-03-26 20:27 深圳彦祖 阅读(301) 评论(0) 推荐(0) 编辑