完全使用标准 C++ 编写的文件分割合并程序。采用面向过程的编程风格,也就是俗称的 C 风格。希望各路高手踊跃发言,指出其不足之处,提出整改意见、方案等。
-Completely using standard C++ Partition the documents prepared by the merging process. Process-oriented programming style, which is commonly known as the C style. Hope that each expert will speak up and point out the inadequacies of the views put forward reform, programs such as.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001898s ]
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.131369s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001026s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001927s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001182s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003702s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001192s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003180s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014920s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001219s ]
UPDATE `jrk_articles` SET `hits` = 1 WHERE `id` = 61629 [ RunTime:0.001172s ]