複製鏈接
請複製以下鏈接發送給好友

私有成員

鎖定
C++語言中class類中的private:私有數據和函數。
格式:
class 類名{
private:私有數據和函數
public:公有數據和函數
protected:保護數據和函數
};
中文名
私有成員
定    義
C++語言中class類中的private:私有數據和函數
C++語言中class類中的private:私有數據和函數。
格式:
class 類名{
private:私有數據和函數
public:公有數據和函數
protected:保護數據和函數
};