是否懂得C语言并不是学习C++的前提。不仅仅是因为C++本身兼容C语言,更重要的是C++所倡导的程序设计观念是和C语言完全不同的。C语言在某种意义上是对CPU模型的抽象。尽管C++完全保留了C语言的机器模型,但是C++更加注重对现实世界进行抽象。为此,C++创始人Bjarne Stroustrup专门写过一篇著名的文章:《Learning Standard C++ as a New Language》(把标准C++作为一种全新的语言来学习)
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001120s ]
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.074318s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000885s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001258s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001102s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003155s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000791s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003909s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.021883s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.000949s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 419616 [ RunTime:0.024451s ]