成员函数

成員函數
chéngyuán hánshù
noun

Measure Word

Meanings

  1. 1 member function
  2. 2 method (of a class)

Examples

HSK 7-9
Zhège lèi de chéngyuán hánshù bùnéng shì jìngtài de.
This class's member function cannot be static.
HSK 7-9
Qǐng zài tóuwénjiàn lǐ shēngmíng suǒyǒu chéngyuán hánshù.
Please declare all member functions in the header file.

Tips

usage
In Chinese C++ terminology 成员函数 is a member function, matching English exactly. Java-style terminology prefers 方法 (method), but C++ translators kept the "function" label.

Stroke Order

chéng
yuán
hán
shù