{"id":549,"date":"2010-11-29T01:28:47","date_gmt":"2010-11-28T16:28:47","guid":{"rendered":"http:\/\/helloidea.org\/?p=549"},"modified":"2015-04-27T05:04:05","modified_gmt":"2015-04-26T20:04:05","slug":"%e3%83%87%e3%83%90%e3%83%83%e3%82%b0%e7%94%a8%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/549.html","title":{"rendered":"\u30c7\u30d0\u30c3\u30b0\u7528\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u6700\u8fd1\u4fbf\u5229\u306a\u30de\u30af\u30ed\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<ol>\n<li>__VA_ARGS__\u3000\u53ef\u5909\u500b\u5f15\u6570\u3092\u30de\u30af\u30ed\u3067\u7c21\u5358\u306b\u5b9a\u7fa9\u3067\u304d\u308b<\/li>\n<li>__LINE__\u3000\u30b3\u30fc\u30c9\u306e\u884c\u6570<\/li>\n<li>__FILE__\u3000\u30d5\u30a1\u30a4\u30eb\u540d\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u542b\u3080<\/li>\n<li>__FUNCTION__\u3000\u95a2\u6570\u540d<\/li>\n<li>__DATE__\u3000\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u6642\u306e\u65e5\u4ed8<\/li>\n<li>__TIME__\u3000\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u6642\u306e\u6642\u9593<\/li>\n<\/ol>\n<p>\u4f7f\u3044\u65b9(\u4f8b) \u4e00\u5fdc\u52d5\u304f\u3051\u3069\u3001\u6b63\u3057\u3044\u66f8\u304d\u65b9\u304b \u5206\u304b\u3089\u306a\u3044\u3067\u3059^^;<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;stdio.h&gt;\r\n\r\n#define DEBUG 1\r\n\r\n#if DEBUG\r\n#define dbg(str,...) printf(&quot;%d@%s &quot; str, __LINE__,__FUNCTION__,__VA_ARGS__);\r\n#define dbg2() printf(&quot;%d@%s\\n&quot;, __LINE__,__FUNCTION__);\r\n#else\r\n#define dbg(...)\r\n#define dbg2()\r\n#endif\r\n\r\nint main()\r\n{\r\n\tprintf(&quot;compiled =&gt; %s %s\\n&quot;, __DATE__, __TIME__);\r\n\r\n\tint i;\r\n\tdbg2()\r\n\r\n\tfor(i = 0; i &lt; 3; i++)\r\n\t{\r\n\t\tdbg(&quot;i=%d\\n&quot;, i);\r\n\t}\r\n\r\n\tdbg2();\r\n\r\n\treturn 0;\r\n}\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncompiled =&gt; Nov 29 2010 01:17:08\r\n29@main\r\n33@main i=0\r\n33@main i=1\r\n33@main i=2\r\n36@main\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u4fbf\u5229\u306a\u30de\u30af\u30ed\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 __VA_ARGS__\u3000\u53ef\u5909\u500b\u5f15\u6570\u3092\u30de\u30af\u30ed\u3067\u7c21\u5358\u306b\u5b9a\u7fa9\u3067\u304d\u308b __LINE__\u3000\u30b3\u30fc\u30c9\u306e\u884c\u6570 __FILE__\u3000\u30d5\u30a1\u30a4\u30eb\u540d\u300c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u542b\u3080 __FUNCTION__\u3000\u95a2\u6570\u540d \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":[131,129,133,134,130,128,132,127],"class_list":["post-549","post","type-post","status-publish","format-standard","hentry","category-memo","tag-__date__","tag-__file__","tag-__func__","tag-__funcname__","tag-__function__","tag-__line__","tag-__time__","tag-__va_args__"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/549","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=549"}],"version-history":[{"count":14,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/549\/revisions"}],"predecessor-version":[{"id":1501,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/549\/revisions\/1501"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}