{"id":800,"date":"2007-04-25T22:23:00","date_gmt":"2007-04-25T13:23:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/read.php\/1177507389"},"modified":"2007-04-25T22:23:00","modified_gmt":"2007-04-25T13:23:00","slug":"read-1177507389","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/read.php\/1177507389","title":{"rendered":"\u30dd\u30a4\u30f3\u30bf\u306e\u8ff7\u8def\u3068\u3001\u305d\u308c\u3092\u8aad\u3080\u30b3\u30f3\u30d1\u30a4\u30e9"},"content":{"rendered":"<p>\u3068\u3053\u308d\u3067\u3053\u3093\u306a\u306e\u3092C\u3067\u66f8\u3044\u305f<\/p>\n<pre>puts(&quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;+'!');<\/pre>\n<p>\u306a\u3093\u304b\u5909\u3002\u3067\u3082\u3053\u3093\u306a\u98a8\u306b\u6587\u5b57\u5217\u3092\u3064\u306a\u3052\u3089\u308c\u308b\u3084\u3064\u3082\u3042\u308b\u3088\u306d\u3002C#\u3082\u3044\u3051\u308b\u3068\u601d\u3046\u3002<br \/>\u52d5\u304b\u3057\u3066\u307f\u308b\u3068XYZ\u3057\u304b\u8868\u793a\u3055\u308c\u306a\u3044\u3002\u3053\u308c\u3044\u304b\u306b\u3068\u3002<br \/>\u307e\u3041C\u3067\u306f\u6587\u5b57\u5217\u306fchar\u578b\u306e\u914d\u5217\u3060\u3068\u3044\u3046\u3053\u3068\u304c\u91cd\u8981\u3060\u306a\u3002<br \/>\u666e\u901aputs\u306b\u306fchar\u578b\u306e\u914d\u5217\u3001\u3059\u306a\u308f\u30611\u6587\u5b57\u76ee\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u6e21\u3057\u3066\u3042\u3052\u308b\u306f\u305a\u3002<br \/>\u3060\u304b\u3089\u7d50\u5c40\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f<\/p>\n<pre>char str[37]=&quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;;<br \/>puts(str+'!');<\/pre>\n<p>\u3068\u66f8\u3044\u3066\u307f\u308b\u3002\u304a\u304b\u3057\u3044\u308f\u306a\u3002<br \/>str\u306fchar*\u578b\u3001char\u578b\u306e\u30dd\u30a4\u30f3\u30bf\u306a\u308f\u3051\u3060\u3001&#8217;!&#8217;\u307f\u305f\u3044\u306bSingle Quotation\u3067\u56f2\u3081\u3070\u6570\u5024\u306b\u306a\u308b\u3002<br \/>&#8216;!&#8217;\u3068\u3044\u3046\u306e\u306f0x21\u3001\u3059\u306a\u308f\u3061\u306f33\u3068\u66f8\u3044\u3066\u3044\u308b\u306e\u3068\u540c\u3058\u3002<br \/>\u3060\u304b\u3089\u30dd\u30a4\u30f3\u30bf\u3068\u6570\u5b57\u306e\u8db3\u3057\u7b97\u3092\u3057\u3066\u305f\u3093\u3060\u306a\u3002<br \/>\u3060\u304b\u3089str[33]\u3001\u3059\u306a\u308f\u3061X\u306e\u5b57\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u6e21\u3057\u3066\u305f\u307f\u305f\u3044\u3002<br \/>\u305d\u3053\u304c1\u6587\u5b57\u76ee\u3068\u3057\u3066\u3001\u6700\u5f8c\u307e\u3067\u3001\u78ba\u304b\u306bXYZ\u3002<br \/>\u307e\u3041\u30dd\u30a4\u30f3\u30bf\u77e5\u3089\u3093\u3068\u75db\u3044\u76ee\u306b\u3042\u3046\u305e\u3068\u3044\u3046\u3053\u3068\u3060\u3002<br \/>\u3060\u304b\u3089<\/p>\n<pre>printf(&quot;Hello&#44;world!);<\/pre>\n<p>\u3063\u3066\u5b9f\u306f\u7d50\u69cb\u8907\u96d1\u3060\u3068\u3044\u3046\u3053\u3068\u3060\u3088\u3002\u6050\u308b\u3079\u3057Hello&#44;world!<br \/>\u4e00\u756a\u7c21\u5358\u3067\u76ee\u306b\u898b\u3048\u308b\u3053\u3068\u306f1\u6587\u5b57\u8868\u793a\u3059\u308b\u3053\u3068\u3060\u308d\u3046\u306a\u3041\u3002\u3053\u308c\u306f\u81f3\u6975\u7c21\u5358\u3002<br \/>\u3055\u3066\u3001\u6709\u540d\u306aC\u30b3\u30f3\u30d1\u30a4\u30e9\u30923\u3064\u305d\u308d\u3048\u307e\u3057\u305f\u3002<br \/>\u30fbGNU C Compiler (Cygwin\u4e0a) [gcc]\u3000(GNU)<br \/>\u30fbBorland C++Compiler [bcc32]\u3000(Borland)<br \/>\u30fbVisual C++ .NET Express\u306e\u30b3\u30f3\u30d1\u30a4\u30e9 [cl]\u3000(Microsoft)<br \/>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u306e3\u3064\u3042\u308a\u307e\u3059\u3051\u3069\u306d\u3047\u2026<br \/>\u307e\u3041\u4e00\u756a\u304a\u3059\u3059\u3081\u306fBCC\u3067\u3059\u306d\u3002Windows\u3067\u306f\u30dd\u30d4\u30e5\u30e9\u30fc\u3060\u3057\u9ad8\u6027\u80fd\u3060\u3057\u3002<br \/>\u305d\u308c\u306b\u5929\u4e0b\u306eBorland\u306e\u3060\u3057\u3002<br \/>\u3067\u3001Cygwin\u4e0a\u306fLinux\u3068\u304b\u306b\u4f3c\u305f\u72b6\u614b\u306a\u3093\u3067\u3001\u30bd\u30fc\u30b9\u3092\u305d\u306e\u307e\u307eUNIX\u7cfbOS\u306b\u6301\u3063\u3066\u3044\u3063\u3066\u3082\u307b\u3068\u3093\u3069\u3064\u304b\u3048\u308b\u3002<br \/>\u307e\u3041\u3001\u78ba\u304b\u306bC\u306e\u30bd\u30fc\u30b9\u306f\u305d\u3082\u305d\u3082\u4e92\u63db\u6027\u9ad8\u3044\u3051\u3069\u3001\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u3068\u304b\u9055\u3046\u3089\u3057\u3044\u3002<br \/>\u3042\u3093\u307e\u308a\u305d\u3093\u306a\u6a5f\u4f1a\u306b\u906d\u9047\u3057\u305f\u3053\u3068\u306a\u3044\u3051\u3069\u305d\u308c\u304c\u4e8b\u5b9f\u3002<br \/>\u697d\u3057\u3044\u3068\u3044\u3046\u306e\u3068gcc\u3068\u3044\u3046\u97ff\u304d\u304c\u3044\u3044\u306e\u3067\u306f\u3058\u3081\u306b\u5c0e\u5165\u3057\u305f\u306e\u304cgcc\u3060\u3063\u305f\u3093\u3060\u304c\u306d\u3002<br \/>Microsoft\u88fd\u306ecl\u306fWindows\u3067\u6975\u7aef\u306a\u6027\u80fd\u3092\u51fa\u3059\u305d\u3046\u3060\u3051\u3069\u2026\u672c\u5f53\u304b\uff1f<br \/>\u306a\u3093\u304b\u9045\u3044\u3093\u3060\u3051\u3069\u2026<br \/>\u3044\u3084\u3001\u5b9f\u306f\u30015+5\u3092\u3057\u3066\u30018\u9032\u6570\u30fb10\u9032\u6570\u30fb16\u9032\u6570\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u30921000000\u56de\u7e70\u308a\u8fd4\u3059\u30c6\u30b9\u30c8\u3092\u3057\u305f\u3093\u3067\u3059\u3088\u3002<br \/>\u3061\u306a\u307f\u306b\u3001NUL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3066\u307e\u3059\u3088\u3002<br \/>\u3059\u308b\u3068GCC\u3067\u3057\u305f\u306e\u304c3\u79d2\u3001BCC\u3067\u3057\u305f\u306e\u304c4\u79d2\u3001\u3053\u308c\u306f\u4e92\u89d2\u3060\u306d\u3002<br \/>\u3068\u3053\u308d\u304cMicrosoft\u306eCL\u3067\u3057\u305f\u306e\u306f19sec\u3082\u3057\u305f\u3093\u3060\u3051\u3069\u2026\u306a\u3093\u3067\uff1f<br \/>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Windows\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u3089BCC\u3001UNIX\u3068\u306e\u4e92\u63db\u6027\u306e\u305f\u3081\u306b\u306fCygwin\u3067GCC\u3063\u3066\u3068\u3053\u304b\u306a\uff1f<br \/>\u307e\u3041Microsoft\u306eCL\u306b\u3057\u304b\u3067\u304d\u306a\u3044\u306e\u306f.NET Framework\u3067\u30d5\u30a9\u30fc\u30e0\u3068\u304b\u3092\u4f5c\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u3060\u3051\u3069\u3002<br \/>\u3067\u3082\u3001\u307e\u3041\u3001\u3042\u3093\u307e\u308a\u4f7f\u308f\u3093\u3067\u3057\u3087\u3046\u306d\u3047\u2026<br \/>\u3068\u3044\u3046\u308f\u3051\u3067\u3082\u3046\u5c11\u3057BCC\u3092\u78e8\u304d\u305f\u3044\u306a\u3068\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u308f\u304b\u308a\u306b\u304f\u304f\u3066\u3002<br \/>\u305f\u3068\u3048\u3070test.c\u3092test-bcc.exe\u306b\u4ed5\u7acb\u3066\u4e0a\u3052\u308b\u3068\u304d<\/p>\n<pre>&gt; bcc32 -e&quot;test-bcc.exe&quot; test.c<\/pre>\n<p>\u3068\u307e\u3041\u2026\u306a\u3093\u3067\u3053\u3093\u306a\u5909\u306a\u66f8\u304d\u65b9\u2026\u3061\u306a\u307f\u306bGCC\u306f<\/p>\n<pre># gcc -o test-gcc test.c<\/pre>\n<p>\u3063\u3066\u5177\u5408\u3002\u3053\u3063\u3061\u306f\u7d20\u76f4\u306a\u3093\u3060\u3051\u3069\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3053\u308d\u3067\u3053\u3093\u306a\u306e\u3092C\u3067\u66f8\u3044\u305f puts(&quot;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;+&#8217;!&#8217;); \u306a\u3093\u304b\u5909\u3002\u3067\u3082\u3053\u3093\u306a\u98a8\u306b\u6587\u5b57\u5217\u3092\u3064\u306a\u3052\u3089\u308c\u308b\u3084\u3064\u3082\u3042\u308b\u3088\u306d\u3002C#\u3082\u3044\u3051 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-800","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=800"}],"version-history":[{"count":0,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/800\/revisions"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}