?? contents.h
字號:
// Contents.h - Dry contents
#ifndef CONTENTS_H
#define CONTENTS_H
class Contents {
public:
Contents(const char* pStr = "cereal", double weight =0.3, double vol = 0);
// Constructor
~Contents(); // Destructor
double getWeight() const; // "Get contents weight" function
protected:
char* pName; // Contents type
double volume; // Cubic inches
double unitweight; // Pounds per cubic inch
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -