{"id":151,"date":"2010-04-28T22:42:53","date_gmt":"2010-04-28T13:42:53","guid":{"rendered":"http:\/\/helloidea.org\/?p=151"},"modified":"2015-04-27T05:11:28","modified_gmt":"2015-04-26T20:11:28","slug":"c%e3%81%ae%e4%bd%bf%e7%94%a8%e7%a6%81%e6%ad%a2c%e3%83%8d%e3%82%a4%e3%83%86%e3%82%a3%e3%83%96%e6%a9%9f%e8%83%bd%e3%81%a0%e3%81%91","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/151.html","title":{"rendered":"C++\u306e\u4f7f\u7528\u7981\u6b62C\u30cd\u30a4\u30c6\u30a3\u30d6\u6a5f\u80fd\u3060\u3051"},"content":{"rendered":"<p>\u30af\u30e9\u30b9\u306e\u6982\u5ff5\u304c\u306a\u3044\u3068\u4e0d\u4fbf\u306a\u306e\u3067 C\u3067\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3059\u308c\u3070\u3044\u3044\u3068\u601d\u3063\u3066\u3002\u3002<\/p>\n<p>\ufeff\u601d\u3044\u3064\u3044\u305f\u64ec\u4f3c\u30af\u30e9\u30b9\u306e\u69d8\u306a\u3082\u306e\u3092\u30e1\u30e2\u30e1\u30e2<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n\r\n#include &lt;stdio.h&gt;\r\n\r\n\/* \u64ec\u4f3c\u30af\u30e9\u30b9 *\/\r\nstruct Stest\r\n{\r\n\tvoid (*out)();\r\n};\r\n\r\n\/* \u64ec\u4f3c\u30e1\u30f3\u30d0\u95a2\u6570 *\/\r\nvoid out()\r\n{\r\n\tprintf(&quot;TEST\\n&quot;);\r\n}\r\n\/* \u64ec\u4f3c\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf *\/\r\nvoid stest(Stest* _Src)\r\n{\r\n\t_Src-&gt;out = out;\r\n}\r\n\r\nvoid main()\r\n{\r\n\tStest st;\r\n\tstest(&amp;st);    \/* \u624b\u52d5\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf *\/\r\n\r\n\tst.out();\r\n}\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30af\u30e9\u30b9\u306e\u6982\u5ff5\u304c\u306a\u3044\u3068\u4e0d\u4fbf\u306a\u306e\u3067 C\u3067\u4f3c\u305f\u3088\u3046\u306a\u3053\u3068\u3092\u3059\u308c\u3070\u3044\u3044\u3068\u601d\u3063\u3066\u3002\u3002 \ufeff\u601d\u3044\u3064\u3044\u305f\u64ec\u4f3c\u30af\u30e9\u30b9\u306e\u69d8\u306a\u3082\u306e\u3092\u30e1\u30e2\u30e1\u30e2 #include &lt;stdio.h&gt; \/* \u64ec\u4f3c\u30af\u30e9\u30b9 *\/ struct Stest  \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[23,24,22],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-memo","tag-c","tag-prohibition_c","tag-programming"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":21,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":1507,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions\/1507"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}