Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the top ten popular keywords on C++?

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "what are the top ten popular keywords on C++". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Now please follow the editor's train of thought slowly and deeply. Let's study and learn what the top ten popular keywords of C++ are.

Keywords are predefined reserved identifiers with special meaning. They cannot be used as identifiers in programs, but you can define your own keywords to be used in Visual C++. On a recent weekend, programmer Tactoth used a Python program (or loneliness) to count the frequency of keywords in a large number of C++ code and selected the top ten C++ keywords. The basis for the selection is very simple: the higher the appearance rate, the hotter it is. The code used is Microsoft's open source code for ATL and MFC.

According to Tactoth, the top 10 most popular keywords are:

If, return, void, int, const, this, else, for, virtual, class

The top ten most unpopular keywords are:

Typeid, asm, dynamic_cast, volatile, mutable, union, signed, auto, register, const_cast

However, due to the code style of MFC/ATL itself, this statistical result has some limitations. But for people who develop Windows desktop applications, it is still representative.

Full ranking:

Thank you for your reading. the above is the content of "what are the top ten popular keywords of C++". After the study of this article, I believe you have a deeper understanding of what the top ten popular keywords of C++ are. The specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report