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

📄 mailsystem.h

📁 BigC++的源码
💻 H
字号:
#ifndef MAILSYSTEM_H
#define MAILSYSTEM_H

using namespace std;

#include <vector>
#include <string>

class Mailbox;

/**
   A system of voice mail boxes.
*/
class MailSystem
{
public:
   /**
      Constructs a voice mail system with a given number of
      mailboxes.
      @param mailbox_count the number of mailboxes
   */
   MailSystem(int mailbox_count);

   /**
      Locate a mailbox.
      @param ext the extension number
      @return the mailbox, or NULL if not found
   */
   Mailbox* find_mailbox(string ext) const;
private:
   vector<Mailbox*> mailboxes;
};

#endif

⌨️ 快捷键说明

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