用C++方法实现链表线性表的建立,插入、删除和逆转操作。并用主函数验证并上机实现。
-C++, the linear list approach to achieve the establishment of the table, insert, delete, and reverse operation. And use the main function is to validate and on the machine to achieve.
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.005827s ]
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.080000s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001092s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001220s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000963s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003148s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000999s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003776s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015101s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001104s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 62365 [ RunTime:0.017128s ]