{"author_name":"idegman","provider_name":"Hatena Blog","version":"1.0","blog_title":"textbook","author_url":"https://blog.hatena.ne.jp/idegman/","blog_url":"https://idegman.hatenadiary.org/","height":"190","published":"2006-12-04 00:00:03","categories":["program","c++"],"type":"rich","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fidegman.hatenadiary.org%2Fentry%2F20061204%2Fp4\" title=\"\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u30b2\u30fc\u30e0 - textbook\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://idegman.hatenadiary.org/entry/20061204/p4","title":"\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u30b2\u30fc\u30e0","description":"#include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; //-----------\u5730\u96f7\u30af\u30e9\u30b9------------------- //\u5730\u96f7\u3092\u8868\u73fe\u3059\u308b\u30af\u30e9\u30b9 class Mine { int x, y; static bool map[5][5]; public: enum MSTAT{MISS, NEAR, HIT}; Mine(); MSTAT check(int cx, int cy); }; bool Mine::map[5][5]; //\u5730\u96f7\u306e\u30b3\u30f3\u30b9\u30c8\u2026","image_url":null}