读取或设置BIOS时间
来源:互联网 发布:移动网络解锁 编辑:程序博客网 时间:2024/05/16 18:08
#include <stdio.h>#include <bios.h>#include <time.h>#include <conio.h>int main( void ){long bios_time;clrscr();cprintf( "The number of clock ticks since midnight is:\r\n" );cprintf( "The number of seconds since midnight is:\r\n" );cprintf( "The number of minutes since midnight is:\r\n" );cprintf( "The number of hours since midnight is:\r\n" );cprintf( "\r\nPress any key to quit:" );while ( !kbhit() ){bios_time = biostime( 0, 0L );gotoxy( 50, 1 );cprintf( "%lu", bios_time );gotoxy( 50, 2 );cprintf( "%.4f", bios_time / CLK_TCK );gotoxy( 50, 3 );cprintf( "%.4f", bios_time / CLK_TCK / 60 );gotoxy( 50, 4 );cprintf( "%.4f", bios_time / CLK_TCK / 3600 );}return(0);}
0 0
- 读取或设置BIOS时间
- 读取设置RTC时间
- C写的一个读取BIOS时间的程序
- 用C写的一个读取BIOS时间的程序
- vxworks for x86读取bios时间的解决方法(转)
- vxworks for x86读取bios时间的解决方法
- 访问PC IO CMOS RAM(读取bios时间)
- QSettings设置或读取中文
- 利用biostime()读取并设置BIOS的时钟
- BIOS设置
- bios设置
- BIOS设置
- 设置BIOS
- 读取、设置系统时间日期
- mini2440-设置和读取时间
- Linux 时间读取与设置
- 设置或读取config文件(winform)
- JavaScript 中设置或读取Cookie
- 随记
- MidpointLine
- 设计模式之外观模式
- BresenhamLine
- 命令行和界面程序同时使用
- 读取或设置BIOS时间
- servlet生命周期和工作原理
- UVA 11997 K Smallest Sums(优先队列)
- 30多条mysql数据库优化方法,千万级数据库记录查询轻松解决
- Servlet生命周期
- MidpointCircle
- OC类方法和对象方法对比
- 第三周项目1 顺序表得基本运算(1)
- 我的第一份工作的得与失