This repository was archived by the owner on Apr 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
実装見本
Kasugaccho edited this page Aug 23, 2019
·
3 revisions
#include <utility> //必要なヘッダーを記入 /* 関数など定義自由 */ class Maze { public: /* メンバ関数など定義自由 (メンバ変数の使用は非推奨) */ template<typename Matrix> void draw(Matrix& matrix /* その他必要な引数 */) const { /* 中身 */ } };
#include "Maze.hpp" #include <array> //必要なヘッダーを記入 int main() { std::array<std::array<int, 32>, 24> matrix; Maze maze; maze.draw(matrix /*その他必要な引数*/); /* 出力をここへ書く */ return 0; }