⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 truck.h

📁 Since the field of object oriented programming is probably new to you, you will find that there is a
💻 H
字号:
                                   // Chapter 7 - Program 6 - TRUCK.H
#ifndef TRUCK_H
#define TRUCK_H

#include "vehicle.h"

class truck : public vehicle 
{
   int passenger_load;
   float payload;
public:
   void init_truck(int how_many = 2, float max_load = 24000.0);
   float efficiency(void);
   int passengers(void);
};

#endif



// Result of execution
//
// (this file cannot be executed)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -