puzzle.h
来自「All are the assignments of mine that I h」· C头文件 代码 · 共 44 行
H
44 行
//Puzzle.h// File: $Id: Puzzle.h,v 1.1 2005/05/08 20:06:35 p334-01h Exp p334-01h $// Author: Chirag Pujara, Matthew Dean// Revisions: $Log: Puzzle.h,v $// Revisions: Revision 1.1 2005/05/08 20:06:35 p334-01h// Revisions: Initial revision// Revisions:// Revisions: Revision 1.2 2005/01/12 19:50:28 p334-02h// Revisions: Wrote the header file, will need some revising -mfd7124// Revisions:// Revisions: Revision 1.1 2005/01/12 19:20:43 p334-02h// Revisions: Initial revision// Revisions://#ifndef _PUZZLE_H#define _PUZZLE_H#include <string>#include <vector>using namespace std;class Puzzle { public: //constructors virtual ~Puzzle(){} public: //methods virtual void printPuzzle( std::vector<int> in ) = 0; virtual vector<vector<int> > nextConfigs(vector<int> current )=0; virtual bool isAnswer( std::vector<int> intVec ) = 0;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?