获取已开机时间。#include #include #include #include void sleep( long wait ); void gettime(); void main( void ) { int flag=1; char time[128]; _strtime(time); printf( "OS time:%s\n",time); //printf( "Delay for one seconds\n" ); cout