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

📄 telephone.cpp

📁 BigC++的源码
💻 CPP
字号:
# include "telephone.h"# include "connection.h"void Telephone::run(Connection& c){   bool more = true;   while (more)   {      string input;      getline(cin, input);      if (input == "H")         c.hangup();      else if (input == "Q")         more = false;      else if ((input.length() == 1) &&         (isdigit(input[0]) || input[0] == '#'))         c.dial(input);      else         c.record(input);   }}

⌨️ 快捷键说明

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