21xrx.com
2024-09-20 00:04:59 Friday
登录
文章检索 我的文章 写文章
C++中常用的英文词汇
2023-07-05 01:55:49 深夜i     --     --
Syntax Compiler Template Pointer Polymorphism

C++ is a commonly used programming language in computer science. It is known for its versatility and ability to handle complex tasks. To become proficient in C++, it is important to have a good understanding of the commonly used English words in the language.

Here are some of the commonly used words in C++:

1. Identifier - A name used to identify a variable, function, or class.

2. Syntax - The strict set of rules and guidelines that dictate the structure and language of C++ code.

3. Compiler - A program that translates source code into machine code that can be executed by the computer.

4. Variable - A named storage location in the computer's memory that holds a value or data.

5. Function - A block of code that performs a specific task and can be called from anywhere in the program.

6. Class - A template for creating objects that contains data and methods.

7. Object - An instance of a class that contains data specific to that object.

8. Inheritance - The ability of a derived class to inherit the properties and behavior of its parent class.

9. Polymorphism - The ability of objects to take on different forms or types.

10. Template - A generic class or function that can be used with any data type.

Understanding these terms is essential when developing programs in C++. Familiarity with them will help programmers avoid common mistakes and write efficient, well-structured code. As with any programming language, the vocabulary of C++ may seem overwhelming at first, but with practice and time, it will become second nature.

  
  

评论区

{{item['qq_nickname']}}
()
回复
回复