In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what problems to pay attention to when developing C++". In the operation process of actual cases, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
C++ development itself is a standard, there are differences between various implementations, and the understanding and implementation of standards are also different. C#and Java languages are mastered by commercial companies, and there are few problems in this area. I hope this article can teach you more.
IBM introduced Rational Software Architect (see note 1) and IBM Rational Software Modeler (see note 2), visual modeling tools supporting UML 2.0. Although they support better improvements in modeling functionality, they support newer standards.
RSA's wonderful features focus on Java application support, while IBM Rational Software Modeler focuses on system model design, and Rational Rose is a great tool for analyzing C++-written system code structurally. The following articles will explain in more detail how Rational Rose reverse engineering can be used for system analysis.
I. Introduction to Rational Rose Reverse Engineering
Reverse engineering is the ability to generate models from the code of existing systems. The main purpose of analyzing existing code is to understand code structure and data structure, which correspond to model diagrams such as class diagrams, data model diagrams and component diagrams (see Note ③ for descriptions of various UML model diagrams).
Deep understanding of C++ programming tips Introduction
Analysis C++ program programming instructions and learning
Discuss the function of enhancing Visual C++ development environment
Details on how to write C++ accurately
A few minutes to teach you how to design programs using Visual C++ 6.0
This is the result of reverse engineering Rational Rose. Rational Rose supports powerful reverse engineering capabilities, including programming languages such as C++, VB, VC, Java, CORBA, and database DDL scripts, and can directly connect DB2, SQL Server, Oracle and Sybase databases to import Schema and generate data models.
Many large-scale C++ development products involve the use of databases. The main difficulty in the development of such large-scale systems, especially in the case of secondary development, is the analysis of source code and database structure. Using Rose's reverse engineering function, you can complete the transformation of code 'class diagrams and database Schema-> data model diagrams. Solving these two difficulties can make developers and designers grasp the system structure more conveniently, quickly and methodically in the upgrading, analysis and development of such large-scale systems, and no longer have to worry about analyzing the huge system structure.
II. How to analyze C++ code with Rational Rose
This section focuses on how users can use Rose's reverse engineering to generate UML models and use them to perform structural analysis of C++ code. Rational Rose can support model-to-code conversion and reverse engineering for both standard C++ and Visual C++. The following will explain in detail the steps and specific operations of reverse engineering for these two C++ developments.
1. ANSI C++(Standard C++) Reverse Engineering (Reverse Engineer) Using standard C++ reverse engineering, you need to create a component in the component view, set the information of the component that needs to be converted, that is, the language of the component, the files it contains, the path of the file, the file suffix, etc., and then Reverse Engineer can convert the code into a class diagram according to the given information.
a) Right-click Component View and select New->Component to create a new component
Set the Source file root directory to the path where your C++ development is located, and add the files you need to convert to Project Files. Make other settings as you need, such as header file extensions, etc.
"C++ development to pay attention to what problems" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
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.