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

📄 bundle.h

📁 BigC++的源码
💻 H
字号:
#ifndef BUNDLE_H#define BUNDLE_H#include <vector>#include "item.h"/**   A bundle of items that is again an item.*/class Bundle : public Item{public:   /**      Adds an item to this bundle.      @param it the item to add   */   void add(Item* it);   virtual double get_unit_price() const;   virtual string get_description() const;   virtual int get_quantity() const;  private:   vector<Item*> items;};#endif

⌨️ 快捷键说明

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