C + + notes (i) overview (2)

Source: Internet
Author: User

1.

IDE: Whether it is a compiled or interpreted programming language, typically comes with an integrated development environment (IDE). In other words, the programmer can edit the program code, compile the source files, assemble and link all the source files and their resource files, until the debugging runs. Even software packaging and software products can be integrated.

C + + language programs are compiled, but its development environment, in order to facilitate testing, debugging environment into an explanatory type. That is, in the development process, the interpretation of the sentence-by-statement execution mode to debug, in a compiled out of the development environment and start running the way to generate the program's final execution code. The general programming operation flow is: edit (source code)--compile (generate target code)--Link (link several target files and library files to generate executable file)--debug, the process repeats until completed.

2. Process-oriented programming

Each process and component in the program design should be represented by a module. Each module, the stronger the cohesion, the less the external, the better the module independence.

Cohesion: That is, the inside of the module is designed to be more single, better. This change, the responsibility is clear.

Outreach: The less the connection between the modules, the better, the connection means dependence, the lack of connectivity, the independence of the module is good, independence means that the module can be modified independently of the outside world. Reducing the outreach also involves separating and categorizing the data. Separating the data from the process body and describing its data and processing independently by using data structure is the principle of module division.

Process-based programming method: The program design adopts the method of dividing from top to bottom and gradually.

3. Object-Oriented Programming

C + + notes (i) overview (2)

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.