{"id":2081,"date":"2011-03-01T00:27:50","date_gmt":"2011-02-28T15:27:50","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/2081"},"modified":"2011-03-01T00:29:43","modified_gmt":"2011-02-28T15:29:43","slug":"%e3%82%a2%e3%83%aa%e3%82%b9%e3%81%af%e6%8b%ac%e5%bc%a7%e3%81%8c%e3%81%8a%e5%ab%8c%e3%81%84","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/2081","title":{"rendered":"\u30a2\u30ea\u30b9\u306f\u62ec\u5f27\u304c\u304a\u5acc\u3044"},"content":{"rendered":"<p>\n\u30a2\u30ea\u30d7\u30e9\u30b7\u30ea\u30fc\u30ba\u306e python \u7248&#8230;\u3068\u8a00\u3044\u307e\u3059\u304b\u3001\u3061\u3087\u3063\u3068 C++ \u3068\u306e\u6bd4\u8f03\u3002<br \/>\nperl \u4ee5\u5916\u3067\u9069\u5f53\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3092\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3001ruby \u306b\u3057\u3088\u3046\u304b\u3001\u4f55\u306b\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001python \u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n\u3067\u3001\u3061\u308d\u3063\u3068\u4f7f\u3063\u3066\u307f\u3066\u3001\u3053\u308c\u306f\u30c3!!! \u3068\u601d\u3063\u305f\u306e\u304c\u62ec\u5f27\u304c\u5c11\u306a\u3044\u3053\u3068\u3067\u3059\u3002<br \/>\npython \u7279\u6709\u306e\u30bf\u30d6(\u7a7a\u767d\u3067\u3082OK)\u3067\u63c3\u3048\u308b\u66f8\u5f0f\u306f\u3001\u7d42\u308f\u308a\u306e\u62ec\u5f27\u3092\u5c11\u306a\u304f\u3059\u308b\u3093\u3067\u3059\u306d\u3002\u3053\u308c\u3063\u3066\u3001XML \u3068 SOX \u306e\u95a2\u4fc2\u306b\u4f3c\u3066\u3044\u3066\u3001\n<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;members&gt;\n\t&lt;person&gt;\n\t\t&lt;name&gt;masuda tomoaki&lt;\/name&gt;\n\t&lt;\/person&gt;\n&lt;\/member&gt;\n<\/pre>\n<p>\n\u306e\u3088\u3046\u306b XML \u3067\u306f\u9589\u3058\u30bf\u30b0\u304c\u5fc5\u8981\u306a\u306e\u3067\u3059\u304c\u3001SOX \u306b\u306f\u3044\u308a\u307e\u305b\u3093\u3002\n<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\nmembers&gt;\n\tperson&gt;\n\t\tname&gt;\n\t\t\tmasuda tomoaki\n<\/pre>\n<p>\n\u5148\u306e.NET\u52c9\u5f37\u4f1a\u3067XML\u306e\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u306e\u4e2d\u3067\u3001XML \u306f\u30ed\u30b0\u51fa\u529b\u306e\u3088\u3046\u306a\u3082\u306e\u306b\u306f\u5411\u304b\u306a\u3044\u3001\u3068\u8a00\u3044\u307e\u3057\u305f\u304c\u3001SOX \u306f\u30ed\u30b0\u51fa\u529b\u306b\u306f\u5411\u304f\u306e\u3067\u3059\u3002\u4f55\u6545\u306a\u3089\u3070<b>\u9589\u3058\u30bf\u30b0<\/b>\u304c\u306a\u3044\u304b\u3089\u3067\u3059\u3002\n<\/p>\n<p>\n\u3053\u306e<b>\u9589\u3058\u308b<\/b>\u3068\u3044\u3046\u51e6\u7406\u306f\u3001\u958b\u59cb\u3068\u7d42\u4e86\u304c\u660e\u78ba\u306b\u306a\u308b\u3068\u540c\u6642\u306b\u3001\u9589\u3058\u308b\u305f\u3081\u306b\u306f\u3001\u958b\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3001\u3068\u3044\u3046\u4f5c\u696d\u304c\u767a\u751f\u3057\u307e\u3059&#8230;\u3063\u3066\u3001\u7985\u554f\u7b54\u307f\u305f\u3044\u3067\u3001\u306a\u3093\u3060\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u306d\u3002\n<\/p>\n<p>\n\u4f8b\u3048\u3070\u5148\u306e XML \u306e\u4f8b\u3060\u3068\u3001\u65b0\u3057\u304f person \u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u306b\u306f\u3001\n<\/p>\n<ol>\n<li>mebers \u9589\u3058\u30bf\u30b0\u306e\u524d\u306b\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<li>person \u306e\u958b\u59cb\u30bf\u30b0\u3068\u7d42\u4e86\u30bf\u30b0\u3092\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<li>name \u30bf\u30b0\u3092\u633f\u5165\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/li>\n<\/ol>\n<p>\n\u3068\u3044\u3046<b>\u633f\u5165<\/b>\u306e\u4f5c\u696d\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u3092 SOX \u306e\u5834\u5408\u3067\u306f\u3001\n<\/p>\n<ol>\n<li>person \u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/li>\n<li>name \u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\n\u3068\u3044\u3046<b>\u8ffd\u52a0<\/b>\u306e\u4f5c\u696d\u3060\u3051\u3067\u3044\u3044\u3093\u3067\u3059\u306d\u3002\u3053\u306e\u5f8c\u308d\u306b\u8ffd\u52a0\u3057\u3066\u3044\u304f\u611f\u899a\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u3082\u524d\u304b\u3089\u5f8c\u308d\u3078\u66f8\u3044\u3066\u3044\u304f\u3068\u3044\u3046\u611f\u899a\u3068\u4e00\u81f4\u3057\u3066\u3001\u975e\u5e38\u306b\u3084\u308a\u3084\u3059\u3044\u306e\u3067\u3059\u3002<br \/>\n\u306a\u306e\u3067\u3001LINQ \u304c from \u304b\u3089\u59cb\u307e\u308b\u306e\u3082\u305d\u306e\u7406\u7531\u3067\u3059\u306d\u3002SQL \u304c SELECT \u304b\u3089\u59cb\u307e\u308b\u306e\u3067\u82e5\u5e72\u3084\u308a\u3065\u3089\u3044\u306e\u3067\u3001\u3044\u304d\u306a\u308a SELECT * FROM \u304b\u3089\u66f8\u304d\u59cb\u3081\u3066\u304b\u3089\u3001* \u90e8\u5206\u3092\u66f8\u304d\u76f4\u3057\u3066\u3044\u304d\u307e\u3059\u3002\n<\/p>\n<p>\n\u3055\u3066\u3001python \u306f\u62ec\u5f27\u304c\u5c11\u306a\u3044\u306e\u3067\u3001\u3053\u3093\u306a\u98a8\u306b alice \u304c\u66f8\u3051\u307e\u3059\u3002\n<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\nimport sys\nargs = sys.argv\nargc = len(args)\n\nif argc == 1:\n\tprint &quot;alice don't like parentheses.&quot;\n\tprint &quot;please input parameters of this program.&quot;\nelse:\n\tfor i,p in enumerate(args):\n\t\tprint &quot;%d: %s&quot; % (i,p)\n<\/pre>\n<p>\n\u6163\u308c\u3082\u5fc5\u8981\u306a\u3093\u3067\u3057\u3087\u3046\u3051\u3069\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u304c\u6df1\u304f\u306a\u308b\u6642\u306f\u3001\u300c:\u300d\u3092\u6253\u3064\u30eb\u30fc\u30eb\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\uff08\u307f\u305f\u3044\u3067\u3059\u3001\u3068\u66f8\u304f\u306e\u306f\u79c1\u304c\u521d\u5b66\u8005\u3060\u304b\u3089\uff09\u3002\n<\/p>\n<p>\n\u3067\u3001\u3053\u308c\u3092<b>\u7d20\u76f4\u306b<\/b> C++ \u3067\u66f8\u304d\u76f4\u3059\u3068\u3001\n<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;iostream&gt;\nusing namespace std;\n\n\/\/ \u30a2\u30ea\u30b9\u306f\u62ec\u5f27\u304c\u304a\u5acc\u3044\nint main(int argc, char *argv&#x5B;] )\n{\n\tif ( argc == 1 ) \n\t\tcout &lt;&lt; &amp;quot;Alice \u306f\u62ec\u5f27\u304c\u304a\u5acc\u3044&amp;quot; &lt;&lt; endl,\n\t\tcout &lt;&lt; &amp;quot;\u4f55\u304b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u3066\u30c3!!!&amp;quot; &lt;&lt; endl;\n\telse\n\t\tfor ( int i=0; i&lt;argc; i++ ) \n\t\t\tcout &lt;&lt; i &lt;&lt; &amp;quot;:&amp;quot; &lt;&lt; argv&#x5B;i] &lt;&lt; endl;\n}\n<\/pre>\n<p>\n\u3048\uff1f\u4f55\u3053\u308c\uff1f\u3063\u3066\u611f\u3058\u3067\u3059\u304c\u3001\u4e2d\u62ec\u5f27\u3092\u7701\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u307e\u3041\u3001if \u6587\u3084 for \u6587\u306e\u5f8c\u306e1\u884c\u306b\u306f\u62ec\u5f27\u304c\u3044\u3089\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306f\u826f\u304f\u77e5\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff08\u9006\u306b\u3001\u3084\u3063\u3061\u3083\u3044\u3051\u306a\u3044\u3088\u3001\u3063\u3066\u8a00\u308f\u308c\u3066\u308b\u3057\uff09\u3001\u3067\u3082\u3001\u300c,\u300d\u6f14\u7b97\u5b50\u306f\u306a\u304b\u306a\u304b\u77e5\u3089\u308c\u3066\u304a\u308a\u307e\u305b\u3093\uff57\u3002<br \/>\n\u30ab\u30f3\u30de\u6f14\u7b97\u5b50\u306fC\u8a00\u8a9e\u306e\u30de\u30af\u30ed\u3067\u826f\u304f\u4f7f\u3046\u306e\u3067\u3059\u304c\u3001\u30ab\u30f3\u30de\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u3068\u5f0f\u3092\u3064\u306a\u3052\u3089\u308c\u308b\u306e\u3067\u3059\u306d\u3002\u306a\u306e\u3067\u3001if \u6587\u306e\u5f8c\u308d\u306b\u3042\u308b 2 \u884c\u304c\u3001\u4f55\u6545\uff1f\uff1f\uff1f\u3063\u3066\u611f\u899a\u306b\u306a\u308b\u306e\u3067\u3059\u3002\u306a\u308b\u3067\u3057\u3087\u3046\uff1f\n<\/p>\n<p>\n\u3061\u306a\u307f\u306b\u3001else \u3068 for \u306e\u9593\u306b\u306f\u6587\u304c\u5165\u308c\u3089\u308c\u307e\u305b\u3093\u3002for \u306f\u5f0f\u3067\u306f\u306a\u304f\u3066\u6587\u3060\u304b\u3089\u306a\u306e\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u610f\u56f3\u7684\u306b\u66f8\u3044\u3066\u62ec\u5f27\u3092\u306a\u304f\u3057\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n\u305d\u308c\u304b\u3089\u9023\u60f3\u3067\u8003\u3048\u305f\u306e\u3067\u3059\u304c\u3001python \u306b\u306f end if \u3068\u3044\u3046\u3082\u306e\u304c\u306a\u3044\u3002<br \/>\nVB \u306b\u306f End if \u3068\u304b\u3001Next \u304c\u3042\u308b\u3002<br \/>\nRuby \u306b\u3082 end \u304c\u3042\u308b\u3002<br \/>\nSQL \u306b\u306f end \u304c\u306a\u3044\u3002<br \/>\nLINQ \u306b\u3082 end \u304c\u306a\u3044\u3002<br \/>\nLISP \u306b\u306f\u3001\u62ec\u5f27\u304c\u5fc5\u8981\u3002\n<\/p>\n<p>\n\u306a\u306e\u3067\u3001\u7d42\u4e86\u304c\u5fc5\u8981\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u3001\u5148\u306e SOX \u306e\u3088\u3046\u306b\u5f8c\u308d\u3078\u5f8c\u308d\u3078\u3068\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3067\u3059\u306d\u3002\u3053\u306e\u3042\u305f\u308a\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u8003\u5bdf\u3092\u3057\u305f\u3089\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30ea\u30d7\u30e9\u30b7\u30ea\u30fc\u30ba\u306e python \u7248&#8230;\u3068\u8a00\u3044\u307e\u3059\u304b\u3001\u3061\u3087\u3063\u3068 C++ \u3068\u306e\u6bd4\u8f03\u3002 perl \u4ee5\u5916\u3067\u9069\u5f53\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3092\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3001ruby \u306b\u3057\u3088\u3046\u304b\u3001\u4f55\u306b\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001python &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/2081\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,22,25],"tags":[],"class_list":["post-2081","post","type-post","status-publish","format-standard","hentry","category-etc","category-c","category-python"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=2081"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions"}],"predecessor-version":[{"id":2082,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions\/2082"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=2081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=2081"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=2081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}