编译器 词法分析是指原文件被分解为词法符号的过程,通常是整个编译过程的第一步。虽然通常认为了解 C++ 的词法分析过程对于大多数一辈子都不会编写 C++ 编译器的程序员来说意义不大,但这篇文章不仅仅是为了满足某些人的好奇心而写的,因为我觉得任意一个严谨的 C++ 程序员都应该对 C++ 的词法分析有所了解,以避免一些偶然情况下会发生的错误
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.000954s ]
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.076321s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.017159s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001335s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001405s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003516s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000958s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004047s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014707s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001139s ]
UPDATE `jrk_articles` SET `hits` = 1 WHERE `id` = 578860 [ RunTime:0.014664s ]