In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "what is the design goal of C++ language". In the operation of practical cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
C++ has been widely used in various fields of computer science because of its unique language mechanism. The idea of object-oriented design is a qualitative leap based on the original structured programming method, which embodies various characteristics of object-oriented.
Bjarne Stroustrup (designer of C++) description of the design and evolution of C++ C++ (The Design and Evolution of C++)
C++ programming language is designed and implemented by Bjarne Stroustrup (the author) from AT&T Bell Laboratories. It has both the organization and design characteristics of Simula language and C language settings suitable for system programming.
C++ 's original version, called "C (C with classes) with classes" [Stroustrup,1980], was put into use * * times in 1980, when it only supported system programming (§3) and data abstraction techniques (§4.1). Language facilities supporting object-oriented programming were joined into C++ in 1983. Since then, object-oriented design methods and object-oriented programming technologies have gradually entered the field of Clippers.
In 1985, Clearing entered the commercial market [Stroustrup,1986] [Stroustrup,1986b] * times. Between 1987 and 1989, language facilities supporting paradigm programming were added to C++ [Ellis,1990] [Stroustrup,1991]. With the emergence and wide application of a number of independently developed C++ products, the formal C++ standardization work was launched in 1990. Standardization is the responsibility of ANSI (American National Standard Institute) and later added ISO (International Standards Organization).
In 1998, the international standard of C++ language was officially issued. During the progress of standardization work, the Standards Committee played an important role, and the draft C++ standard released by it was used as a transitional standard until the formal standard was released.
As an active member of the Standards Committee, I was a major participant in the further development of C++. Compared with the previous C++ language version, the standard C++ language is closer to my ideal C++ language. The design and evolution of C++ are described in detail in [Stroustrup,1994], [Stroustrup,1996] and [Stroustrup,1997b]. The C++ language definition generated at the end of the standardization work is described in detail in [Stroustrup,1997].
The design goal of C++ (C++ Design Aims)
The design goal of C++ is to make C++ not only have the adaptability and efficiency of C language suitable for system programming, but also have language facilities like Simula in its program organization structure (the kind of program organization structure supported by Simula is often called object-oriented programming style).
In the design, great efforts have been made to make the high-level programming technology borrowed from Simula can be applied to the system programming. That is to say, the abstract mechanism provided by C++ can be applied to those programming tasks that require high efficiency and adaptability.
The above design objectives of C++ can be summarized as follows:
For programmers who want to solve practical problems, C++ makes programming more fun
C++ language is a general purpose programming language, it:
◆ is a better C
◆ supports data abstraction
◆ supports object-oriented programming
◆ supports paradigm programming.
The support for paradigm programming is only achieved as a clear and independent goal in the later stage of C++ design. For most of the evolution of C++, I have placed paradigm programming and the language features that support it under the headline "data abstraction".
This is the end of the content of "what is the design goal of C++ language". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.