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

📄 flyaway.cpp

📁 Since the field of object oriented programming is probably new to you, you will find that there is a
💻 CPP
字号:
//       XXXXX  X      X   X    X    X   X    X    X   X
//       X      X      X   X   X X   X   X   X X   X   X
//       X      X       X X   X   X  X   X  X   X   X X
//       XXX    X        X    X   X  X   X  X   X    X
//       X      X        X    XXXXX  X X X  XXXXX    X
//       X      X        X    X   X  X X X  X   X    X
//       X      XXXXX    X    X   X   X X   X   X    X

//                    FLYAWAY - version 2.80
//          Written by: Gordon Dodrill - Oct 18, 1996
//      Copywrite 1989, 1990, 1992, 1994, 1996 - Coronado Enterprises

#include "words.h"
#include "map.h"
#include "schedule.h"
#include "clock.h"
#include "items.h"

words    input_words;      // The player's command inputs
map      airport;          // The physical layout of the airport
schedule flight_info;      // Schedule and gate information
clock    time_of_day;      // The system timekeeper
items    personal_items;   // Things the player carries with him

int main()
{
   airport.initialize();
   do 
   {
      input_words.get_command();        // Get user inputs
      flight_info.shuffle_flights();    // Until monitor read
      flight_info.shuffle_gates();      // Until ticket read
      airport.perform_action();         // Try to perform the request
      flight_info.check_flight();       // Did you get there?
   } while (input_words.get_verb() != quit);

   return 0;
}

⌨️ 快捷键说明

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