position.h

来自「data structures, algorithms and Applicat」· C头文件 代码 · 共 15 行

H
15
字号
#ifndef Position_
#define Position_

class Position {
   friend bool InputMaze();
   friend void OutputPath();
   friend bool FindPath();
   public:
      operator int() const {return row;}
   private:
      int row, col;
};

#endif

⌨️ 快捷键说明

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