-
私有成員
鎖定
C++語言中class類中的private:私有數據和函數。
格式:
class 類名{
private:私有數據和函數
public:公有數據和函數
protected:保護數據和函數
};
- 中文名
- 私有成員
- 定 義
- C++語言中class類中的private:私有數據和函數
C++語言中class類中的private:私有數據和函數。
格式:
class 類名{
private:私有數據和函數
public:公有數據和函數
protected:保護數據和函數
};
- 詞條統計
-
- 瀏覽次數:次
- 編輯次數:5次歷史版本
- 最近更新: 阿妧云