C + + is the language that programmers must master

Source: Internet
Author: User
Tags static class

Rolling Yangtze River East dead water, waves scouring the hero. Although the era of personal heroes has become the past, but we still can not be forgotten by such models, they are WPS to seek Baijun, Ccdos Shing, 2.13 Wu Xiaojun, four-way Lee side Leverling, cced Zhu Chongjun, Ucdos Bao and so on. Because they are not only excellent programmers of fame, not only in writing articles must think of the characters, more important is that they stirred a lot of programmers programming enthusiasm, determined to learn the assembly and C can walk the world's determination and courage, they represent the past China's software industry brilliant.

For years we have been following, and we have never doubted what was wrong. Even as DOS has become the past, and windows and the Internet dominate the world today, we have never doubted it.

Can we doubt it? There are too many instances of seeing. Don't we see the Linux OS and many of the application's kernels are compiled with C? Even in the University of Computer science or non-computer majors, is the extensive opening of C + + programming courses not also an excellent proof of it? Enrique Salem, chief designer of Norton Utility, doesn't think "everyone should use C + +"?

Is there any doubt about it?

Admittedly, we cannot deny the extraordinary charm of C + + language. However, we have to ask, in Windows popular today, the use of Windows C to develop a unique interface, powerful applications, you can? How much time do you need, even if you can?

With many programming tools to choose from today, the emphasis on "C/s + + is the language that programmers must master" is there no one really dares to stand up and ask questions?

In fact, in the network eminence today, any application must be authenticated by the network. Who's software works, who will be recognized. In order to achieve this goal, many Windows programmers have chosen a simple, easy to learn, fast and efficient development of visual Basic, Dephi and other tools. E_book Electronic reader is one example, it is Li Xiaodong with VB design.

If this seems too feeble, then let's take a look at the development of C language from the past to the present, and see why it develops.

As we all know, C language was developed in the 70 's language, because at that time people imagine a set of low-level language and advanced language advantages in one language, so the C language was born. Based on its simplicity, compactness, convenience and flexibility, it soon became a widely popular language in the world.

However, the C language is ultimately a process-oriented language, and data and processing data are separated from the program. When a section of the program is modified or deleted, all the relevant parts of the program should be modified accordingly, so that the maintenance of the program code is more difficult. In order to avoid this situation, the object-oriented design method is referenced on the basis of C. It encapsulates the corresponding function of data and processing data into a class, while using a class data variable is called an object. Within an object, only functions that belong to that object can access the object's data. In this way, other functions will not inadvertently destroy its contents, so as to protect and hide the effect of the data. This is C + +. Of course, object-oriented C + + also supports multiple inheritance, templates, operator overloading, inline function definitions, preprocessing, macros, global static class variables, nested class definitions, and so on.

C + + is too complicated, and any company that uses C + + developers will have to pay more because there are fewer and fewer good C + + programmers. Based on the need for software entrepreneurship, it is natural for people to need an easy-to-use, object-oriented, secure and flexible "Next-generation Windows Service" (Generation Windows Services, abbreviated NGWS) application language, and C # appears. It simplifies the function of C + +, so it has the advantage of simple and easy learning which C + + does not have. It has neither C + + "Tragic" pointer concept, nor similar "::", "." and the "stupid" operation of "->".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.