摘要
目的 提高存储的安全性 ,避免停电所造成的文件信息丢失 ,开发定时器程序。方法 利用timeBeginPriod、timeKillEvent、timeSetEvent、timeGetDevCaps、timeEndPeriod等函数定制定时器。结果 该定时器程序运行结束时给出警示性信息“定时时间结束”。结论 利用VisualC ++编写的定时器程序简单、运行效率高、稳定。
ObjectibveTo improve the security of memory and avoid losing the information of file because of power cut off suddenly. Methods Write one timer program using some functions, such as time Begin Priod, time Kill Event, time Set Event, time Get Dev Caps and time E nd Period.Results A piece of information, such as 'THE TIME IS END!', will be given out when the Timer program runs finally. Conclusion The timer program written with Visual C++ is simple, and runs efficiently and steadily.
出处
《菏泽医学专科学校学报》
2002年第2期95-96,共2页
Journal of Heze Medical College