成员函数

成員函數
chéngyuánhánshù
noun

Measure Word

Meanings

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

Examples

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.
Qǐng zài tóu wé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ù