The C ++ programming language (1)

Source: Internet
Author: User

 

 

Chapter 2 C ++ Overview

1 C ++ is a commonProgramDesign Language, especially for system programming.

-- Is a better C

-- Supports data abstraction

-- Supports Object-Oriented Programming

-- Supports General Program Design

 

2. A language supports a certain style of programming. If it provides some features, it makes it easier for him to use this style of programming. If you want to write such a program, you have to make great efforts or use various techniques, so this language does not support some technology. This language only allows the use of this technology. For example, you can write a structured program in FORTRAN77 or an object-oriented program in C, but it is surprisingly difficult to do so because this language does not directly support these technologies.

 

The three languages are not better than other languages because they do not have certain features. There are too many examples of this. The most important question is not how many features a language has, but whether the features it has are sufficient to support a desired programming style in a desired application field:

 

4. The procedural programming model is:

Are you sure you need those processes?

Use the best one you can findAlgorithm

 

5 modular program design specifications:

Determine which modules you need; divide programs

Some modules to hide data in the module

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.