应用背景VC++6.0的时间定时器,里面含有中断,可以在中断中加入你的代码,可以在该代码的基础上进行修改,创建多个定时器,实现多定时功能。经过测试和调试,该程序在VC++上可以很好地输出想要的结果,也就是说这个代码是可用的。关键技术visula studio 的中断程序,可修改后创建多个定时器能。中断中可以添加你想要的东东,用C编程,便于修改,便于维护和使用。采样中断定时的方法实现了结果的输出。对于界面定时调用和定时的相关实现具有一定的参考价值。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000973s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.059413s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001007s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001235s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000995s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003176s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001028s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003852s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015842s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001105s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 62719 [ RunTime:0.014157s ]