{"id":4570,"date":"2017-12-13T09:00:05","date_gmt":"2017-12-13T00:00:05","guid":{"rendered":"https:\/\/www.agent-grow.com\/self20percent\/?p=4570"},"modified":"2017-12-07T08:24:47","modified_gmt":"2017-12-06T23:24:47","slug":"thinking-about-hungarian-notation","status":"publish","type":"post","link":"https:\/\/www.agent-grow.com\/self20percent\/2017\/12\/13\/thinking-about-hungarian-notation\/","title":{"rendered":"\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306b\u3064\u3044\u3066\u601d\u3046\u3053\u3068\u306a\u3093\u3084\u304b\u3093\u3084\u3010Agent Grow Advent Calendar 2017\uff1a13\u65e5\u76ee\u3011"},"content":{"rendered":"<p>Agent Grow Advent Calendar 2017 13\u65e5\u76ee\u3092\u62c5\u5f53\u3059\u308b\u3068\u3063\u3064\u3041\u3093\u3067\u3059\u3002<br \/>\n\u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u30fc\u6298\u308a\u8fd4\u3057\u5730\u70b9\u3067\u3059\u306d\u3002<\/p>\n<p>\u30ad\u30ea\u304c\u3044\u3044\u3068\u3053\u308d\u306a\u306e\u3067\u3001\u305d\u308c\u306b\u3075\u3055\u308f\u3057\u3044(\uff1f)\u8a18\u4e8b\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30fc\u30de\u306f<br \/>\n<strong>\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306b\u3064\u3044\u3066\u601d\u3046\u3053\u3068<\/strong><br \/>\n\u3067\u3059\u3002<\/p>\n<p>\u304b\u306a\u308a\u500b\u4eba\u7684\u306a\u898b\u89e3\u306a\u306e\u3067 (\u3000\u00b4_\u309d\uff40)\uff8c\uff70\uff9d \u3068\u601d\u3044\u306a\u304c\u3089\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u203b \u3061\u306a\u307f\u306b\u4e0a\u306e\u7d75\u306f\u672c\u7de8\u3068\u5168\u304f\u95a2\u4fc2\u306a\u3044\u30cf\u30f3\u30ac\u30ea\u30fc\u306e\u753b\u50cf\u3067\u3059\u3002<\/p>\n<h1>\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u3063\u3066\u306a\u3093\u305e\u3084\uff1f<\/h1>\n<p>\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u3068\u306f\u3001\u5909\u6570\u306e\u547d\u540d\u898f\u5247\u306e\u4e00\u7a2e\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nHWND CreateWindowEx(\n\nDWORD dwExStyle, \/\/ \u62e1\u5f35\u30a6\u30a3\u30f3\u30c9\u30a6\u30b9\u30bf\u30a4\u30eb\nLPCTSTR lpClassName, \/\/ \u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30af\u30e9\u30b9\u540d\nLPCTSTR lpWindowName, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u540d\nDWORD dwStyle, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u30b9\u30bf\u30a4\u30eb\nint x, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u6a2a\u65b9\u5411\u306e\u4f4d\u7f6e\nint y, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u7e26\u65b9\u5411\u306e\u4f4d\u7f6e\nint nWidth, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u5e45\nint nHeight, \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u9ad8\u3055\nHWND hWndParent, \/\/ \u89aa\u30a6\u30a3\u30f3\u30c9\u30a6\u307e\u305f\u306f\u30aa\u30fc\u30ca\u30fc\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30cf\u30f3\u30c9\u30eb\nHMENU hMenu, \/\/ \u30e1\u30cb\u30e5\u30fc\u30cf\u30f3\u30c9\u30eb\u307e\u305f\u306f\u5b50\u8b58\u5225\u5b50\nHINSTANCE hInstance, \/\/ \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30cf\u30f3\u30c9\u30eb\nLPVOID lpParam \/\/ \u30a6\u30a3\u30f3\u30c9\u30a6\u4f5c\u6210\u30c7\u30fc\u30bf\n\n);\n\n<\/pre>\n<p>\u203b <a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/cc410714.aspx\">MSDN<\/a>\u3088\u308aCreateWindowEx\u306e\u95a2\u6570\u5b9a\u7fa9\u3092\u629c\u7c8b<\/p>\n<p>\u3053\u3053\u306e\u5f15\u6570\u306e\u3068\u3053\u308d\u306b\u3042\u308b\u00a0<strong>dw<\/strong>ExStyle \u3068\u304b\u00a0<strong>lp<\/strong>ClassName \u306e\u3088\u3046\u306b\u3001\u5909\u6570\u540d\u306e\u524d\u306b\u305d\u306e\u5909\u6570\u306e\u5c5e\u6027\u3084\u578b\u3092\u793a\u3059\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_4570_1('footnote_plugin_reference_4570_1_1');\" onkeypress=\"footnote_moveToReference_4570_1('footnote_plugin_reference_4570_1_1');\" ><sup id=\"footnote_plugin_tooltip_4570_1_1\" class=\"footnote_plugin_tooltip_text\">1)<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_4570_1_1\" class=\"footnote_tooltip\">\u672c\u6765\u3064\u3051\u305f\u3044\u540d\u524d\u306e\u524d\u65b9\u306b\u4ed8\u4e0e\u3059\u308b\u6587\u8a00<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_4570_1_1').tooltip({ tip: '#footnote_plugin_tooltip_text_4570_1_1', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [10, 10], });<\/script>\u3092\u3064\u3051\u308b\u547d\u540d\u898f\u5247\u304c\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u5909\u6570\u540d\u3092\u898b\u308c\u3070\u4f55\u306e\u578b\u304b \u3068\u304b \u3069\u3093\u306a\u60c5\u5831\u3092\u6301\u3063\u3066\u3044\u308b\u5909\u6570\u306a\u306e\u304b\u304c\u308f\u304b\u308a\u3084\u3059\u3044\uff01\u3068\u3044\u3046\u306e\u304c\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u52d5\u7684\u578b\u4ed8\u3051\u306e\u8a00\u8a9e\u304c\u5168\u76db\u306b\u306a\u3063\u305f\u4eca\u305d\u3046\u305d\u3046\u898b\u306a\u304f\u306a\u3063\u305f\u8a18\u6cd5\u3067\u3059\u304c\u3001\u79c1\u306f\u6614windows\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u3044\u305f\u306e\u3067\u7d50\u69cb\u898b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3082\u3046\u3060\u3044\u3076\u53e4\u3044\u601d\u60f3\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3075\u3068\u601d\u3044\u3064\u3044\u305f\u306e\u3067\u3044\u308d\u3044\u308d\u601d\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u8a00\u3044\u305f\u3044\u3053\u3068\u306e\u672c\u984c<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u65e9\u901f\u672c\u984c\u3067\u3059\u3002<\/p>\n<h2>2\u7a2e\u985e\u306e\u8a18\u6cd5\u304c\u3054\u3063\u3061\u3083\u306b\u306a\u3063\u3066\u3044\u308b<\/h2>\n<p>\u3044\u304d\u306a\u308a\u3067\u3059\u304c\u3001\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306b\u306f2\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e2\u7a2e\u985e\u306e\u8a18\u6cd5\u306e\u3046\u3061\u3001\u3088\u308a\u3044\u307e\u3044\u3061\u306a\u307b\u3046\u304c\u4f7f\u308f\u308c\u305f\u308a\u8b70\u8ad6\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u305f\u3081\u3082\u3084\u3082\u3084\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3<\/h3>\n<p>\u3053\u3061\u3089\u304c\u5927\u5143\u306e\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u91d1\u984d\u8a08\u7b97\u60c5\u5831\u3092\u6301\u3064\u5909\u6570\u3092\u4f8b\u306b\u3068\u308b\u3068(\u4ee5\u964dc\u3068\u304bjava\u7684\u306a\u8a00\u8a9e\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u66f8\u3044\u3066\u3044\u307e\u3059)<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nint jpyWallet1 = 50; \/\/ \u5186\u306e\u91d1\u984d\nint jpyWallet2 = 70; \/\/ \u5186\u306e\u91d1\u984d\nint usdWallet1 = 70; \/\/ \u7c73\u30c9\u30eb\u306e\u91d1\u984d\nint usdWallet2 = 100; \/\/ \u7c73\u30c9\u30eb\u306e\u91d1\u984d\n\n<\/pre>\n<p>\u2191\u306e\u3088\u3046\u306b\u3001\u5909\u6570\u304c\u793a\u3059\u610f\u5473\u5408\u3044\u3092\u5909\u6570\u540d\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306b\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5909\u6570\u304c\u3042\u308b\u5834\u5408\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nint jpyNewWallet= jpyWallet1 + usdWallet2 ; \/\/ \u5186\u3068\u7c73\u30c9\u30eb\u306e\u8a08\u7b97\n\n<\/pre>\n<p>\u2191\u306e\u3088\u3046\u306b\u7570\u306a\u308b\u5358\u4f4d\u3092\u793a\u3059\u5024\u306e\u6f14\u7b97\u3092\u30d1\u30c3\u3068\u898b\u3066\u628a\u63e1\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u304a\u304b\u3057\u306a\u6f14\u7b97\u3092\u898b\u3064\u3051\u3084\u3059\u304f\u3059\u308b\u3068\u3044\u3046\u89b3\u70b9\u3067\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u306f\u6709\u52b9\u306a\u547d\u540d\u898f\u5247\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<h3>\u30b7\u30b9\u30c6\u30e0\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3<\/h3>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u3092\u5143\u306b\u8aa4\u3063\u305f\u610f\u56f3\u3067\u6d3e\u751f\u3057\u305f\u8a18\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u4e00\u822c\u306b\u6d41\u901a\u3057\u3066\u3044\u308b\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306f\u3053\u3061\u3089\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nint\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 iValue = 12;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ int\u578b\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f i\nbool\u00a0 \u00a0 \u00a0 \u00a0 \u00a0bIsClickable = true;\u00a0 \/\/ bool\u578b\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f b\nint*\u00a0 \u00a0 \u00a0 \u00a0 \u00a0pRefValue = \uff06iValue; \/\/ \u30dd\u30a4\u30f3\u30bf\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f p\nunsigned int uiValue = 100;\u00a0 \u00a0 \u00a0 \u00a0\/\/ unsigned int\u578b\u3078\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f ui\nchar\u00a0 \u00a0 \u00a0 \u00a0 \u00a0szString&#x5B;255];\u00a0 \u00a0 \u00a0 \u00a0\/\/ \u6587\u5b57\u5217\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u306f sz\n<\/pre>\n<p>\u2191\u306e\u3088\u3046\u306b\u3001\u578b\u306b\u5bfe\u5fdc\u3057\u305f\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u4ed8\u3051\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<br \/>\n\u203b 10\u5e74\u304f\u3089\u3044\u524d\u306e\u8a18\u61b6\u3067\u66f8\u3044\u3066\u3044\u308b\u306e\u3067\u602a\u3057\u3044\u3068\u3053\u308d\u3082\u3042\u308b\u304b\u3082\u30fb\u30fb\u30fb<\/p>\n<p>\u3053\u3061\u3089\u306e\u5834\u5408\u5909\u6570\u540d\u3092\u898b\u308c\u3070\u578b\u304c\u308f\u304b\u308b\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u306f\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4e2d\u306b\u5909\u6570\u306e\u578b\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u3001\u540c\u3058\u5909\u6570\u306e\u540d\u524d\u3092\u3059\u3079\u3066\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u4fee\u6b63\u304c\u3064\u3089\u304f\u306a\u308b\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u3069\u3061\u3089\u306b\u3057\u3066\u3082\u6b63\u76f4\u3042\u3093\u307e\u308a\u3046\u308c\u3057\u304f\u306a\u3044<\/h2>\n<p>\u500b\u4eba\u7684\u306b\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u306f\u307e\u3060\u30a2\u30ea\u304b\u3082\u306a\u3041\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3067\u3054\u307e\u304b\u3059\u304f\u3089\u3044\u306a\u3089\u9069\u5207\u306a\u5909\u6570\u540d\u3092\u4ed8\u3051\u305f\u307b\u3046\u304c\u78ba\u5b9f\u306b\u8aad\u307f\u3084\u3059\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u9069\u5207\u306a\u5909\u6570\u540d\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u7565\u79f0\u306e\u30ea\u30b9\u30c8\u304c\u5fc5\u8981\u306a\u307b\u3069\u306e\u6697\u53f7\u7684\u306a\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u5909\u6570\u540d\u306b\u7740\u3051\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b \u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u3092\u4f7f\u308f\u306a\u3044\u9069\u5f53\u306a\u4f8b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nint dollar = 10; \/\/ \u7c73\u30c9\u30eb\nint dollarPeryen = 113; \/\/ 1\u30c9\u30eb\u306e\u5186\u4fa1\u683c\n\nprintf(\u201d%d\u201d, dollar * dollarPeryen ); \/\/ 10\u30c9\u30eb\u306e\u4fa1\u683c\u3092\u8868\u793a\n<\/pre>\n<p>\u3069\u3093\u306a\u540d\u524d\u304c\u3044\u3044\u540d\u524d\u306a\u306e\u304b\u306f code complete \u3084 \u30ea\u30fc\u30c0\u30d6\u30eb\u30b3\u30fc\u30c9 \u3092\u8aad\u3093\u3067\u3044\u305f\u3060\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3056\u3063\u304f\u308a\u3044\u3046\u3068\u300c\u540d\u306f\u4f53\u3092\u8868\u3059\u300d\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304c\u3044\u3044\u540d\u524d\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u7279\u306b\u30b7\u30b9\u30c6\u30e0\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u306b\u306f\u52d8\u5f01\u3057\u3066\u3044\u305f\u3060\u304d\u305f\u3044<\/h2>\n<p>\u30b7\u30b9\u30c6\u30e0\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u306b\u3064\u3044\u3066\u306f\u3001\u500b\u4eba\u7684\u306b\u306f\u5bb3\u60aa\u3060\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b63\u76f4\u3044\u3044\u3068\u3053\u308d\u306f\u4f55\u4e00\u3064\u306a\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c1\u30fc\u30e0\u306e\u30eb\u30fc\u30eb\u3067\u3053\u308c\u3092\u63a1\u7528\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408\u3001\u731b\u70c8\u306b\u53cd\u5bfe\u3059\u308b\u304b\u30c1\u30fc\u30e0\u3092\u629c\u3051\u308b\u3053\u3068\u3092\u672c\u6c17\u3067\u691c\u8a0e\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3067\u7406\u7531\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5909\u6570\u306e\u578b\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306b\u5730\u7344\u3092\u898b\u308b<\/h3>\n<p>\u30b7\u30b9\u30c6\u30e0\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u3067\u66f8\u304b\u308c\u305f\u5909\u6570\u306e\u578b\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u3092\u60f3\u50cf\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u898b\u901a\u3057\u304c\u3044\u3044\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308c\u3070\u958b\u767a\u74b0\u5883\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u6a5f\u80fd\u3084\u6587\u5b57\u5217\u7f6e\u63db\u3067\u4f55\u3068\u304b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4f55\u5e74\u3082\u5897\u6539\u7bc9\u3092\u91cd\u306d\u305f\u30ec\u30ac\u30b7\u30fc\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3053\u306e\u5bfe\u5fdc\u304c\u53d6\u308c\u306a\u3044\u5834\u5408\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u203b \u30b7\u30b9\u30c6\u30e0\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u3067\u306e\u5909\u6570\u306e\u578b\u5909\u66f4\u304c\u8f9b\u3044\u5b9f\u88c5\u306e\u4f8b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmapParams&#x5B;\u201dfCalcMethod\u201d] = PLUS; \/\/ \u8db3\u3057\u7b97\u3059\u308b\u305f\u3081\u306e\u5b9a\u6570\u3092\u8a2d\u5b9a\nmapParams&#x5B;\u201diValue1\u201d] = 3;\nmapParams&#x5B;\u201diValue2\u201d] = 6;\n\n\/\/ mapParams\u3092\u4f7f\u3063\u3066\u8a08\u7b97\u3059\u308bsomeFunc\u3092\u5b9f\u884c\u3059\u308b\nint result = obj-\uff1ecallFunc(\u201dsomeFunc\u201d, mapParams);\n\n\u30fb\u30fb\u30fb\n\nint someFunc(int iValue1, int iValue2, bool fCalcMethod){\n\u306a\u3093\u3084\u304b\u3093\u3084\u51e6\u7406\u3059\u308b\n}\n\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u5b9f\u884c\u3059\u308b\u95a2\u6570\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u5b9f\u88c5\u306f\u62bd\u8c61\u5ea6\u304c\u4e0a\u304c\u308b\u3057\u4e00\u898b\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u306a\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u306e\u3067\u3064\u3044\u3084\u308a\u305f\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u4f55\u3082\u77e5\u3089\u305a\u5f8c\u304b\u3089\u3084\u3063\u3066\u304f\u308b\u4eba\u306b\u3068\u3063\u3066\u306f\u8ffd\u3044\u3065\u3089\u3044\u30bd\u30fc\u30b9\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u3044\u5370\u8c61\u3067\u3059\u3002<\/p>\n<p>\u203b \u500b\u4eba\u7684\u306b\u306f\u5b9f\u884c\u6642\u306b\u51e6\u7406\u3059\u308b\u95a2\u6570\u3092\u6307\u5b9a\u3059\u308b\u3088\u308a\u306f\u3001\u4f9d\u5b58\u6027\u306e\u6ce8\u5165\u3067\u51e6\u7406\u3092\u5207\u308a\u66ff\u3048\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u7528\u9014\u3054\u3068\u306b\u5b50\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u5b9f\u88c5\u3059\u308b\u307b\u3046\u304c\u597d\u304d\u3067\u3059<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001someFunc \u95a2\u6570\u306e\u5f15\u6570\u306e\u578b\u3092\u5909\u66f4\u3059\u308b\u3068\u304d\u306b callFunc \u3067\u547c\u3093\u3067\u3044\u308b\u7b87\u6240\u3092\u958b\u767a\u74b0\u5883\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u6a5f\u80fd\u3067\u7f6e\u63db\u3059\u308b\u3053\u3068\u306f\u307b\u307c\u3067\u3067\u304d\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u306e\u4ee3\u308f\u308a\u3068\u3057\u3066mapParams\u306e\u30ad\u30fc\u540d\u3067\u6587\u5b57\u5217\u7f6e\u63db\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u4eca\u5ea6\u306f\u540c\u540d\u306e\u307e\u3063\u305f\u304f\u95a2\u4fc2\u306a\u3044\u30ad\u30fc\u3084\u5909\u6570\u307e\u3067\u6587\u5b57\u5217\u7f6e\u63db\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5730\u7344\u306e\u4f5c\u696d\u5185\u5bb9<\/h3>\n<p>\u3067\u306f\u5b9f\u969b\u306b\u5909\u6570\u540d\u3092\u5909\u66f4\u3059\u308b\u5bfe\u5fdc\u3092\u884c\u3046\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>someFunc\u95a2\u6570\u3067\u4f7f\u3063\u3066\u3044\u308biValue1\u3068iValue2\u306e\u578b\u3092double\u578b\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3092\u60f3\u50cf\u3057\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5834\u5408\u306e\u4f5c\u696d\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059<\/p>\n<ol>\n<li>someFunc\u95a2\u6570\u306e\u4eee\u5f15\u6570\u3068\u306a\u3063\u3066\u3044\u308biValue1, iValue2\u306e\u578b\u3092\u5909\u66f4\u3057\u3001\u5909\u6570\u540d\u3082dValue1, dValue2\u3078\u5909\u66f4\u3059\u308b<\/li>\n<li>someFunc\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u7b87\u6240\u3092\u5168\u4ef6\u691c\u7d22\u3059\u308b<\/li>\n<li>\u305d\u3053\u304b\u3089\u540c\u540d\u306e\u5225\u95a2\u6570\u3092\u7701\u3044\u3066\u3072\u3068\u3064\u3065\u3064\u78ba\u8a8d\u3057\u3066\u3044\u304f<\/li>\n<li>3.\u3067\u898b\u305f\u95a2\u6570\u304c\u5909\u66f4\u5bfe\u8c61\u306a\u3089\u3001\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059iValue1, iValue2\u306e\u5909\u6570\u540d(\u6dfb\u5b57)\u3092dValue1, dValue2\u3078\u5909\u66f4\u3059\u308b<\/li>\n<li>3.\u30684.\u3092\u7e70\u308a\u8fd4\u3059<\/li>\n<\/ol>\n<p>\u3053\u306e\u5834\u5408\u672c\u5f53\u306b\u5168\u90e8\u5bfe\u5fdc\u3057\u305f\u304b\u5730\u9053\u306b\u78ba\u304b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3057\u3001\u6f0f\u308c\u305f\u500b\u6240\u3067\u30d0\u30b0\u304c\u767a\u751f\u3059\u308b\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u304c\u5e38\u306b\u4ed8\u304d\u307e\u3068\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u306b\u3088\u308b\u4eba\u70ba\u7684\u30df\u30b9\u3001\u5897\u3048\u308b\u4fee\u6b63\u5de5\u6570\u3001\u5897\u3048\u308b\u30c6\u30b9\u30c8\u9805\u76ee\u3001\u30ea\u30ea\u30fc\u30b9\u5f8c\u306b\u767a\u899a\u3059\u308b\u5909\u66f4\u6f0f\u308c\u3001\u5897\u5927\u3059\u308b\u30d7\u30ec\u30c3\u30b7\u30e3\u30fc\u30fb\u30fb\u30fb<\/p>\n<p>\u5e78\u904b\u306b\u3082\u81ea\u52d5\u30c6\u30b9\u30c8\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u308c\u3070\u5e7e\u5206\u304b\u30de\u30b7\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u79c1\u3068\u3057\u3066\u306f\u63a7\u3048\u3081\u306b\u8a00\u3063\u3066\u3082\u3053\u306e\u72b6\u6cc1\u306f\u5730\u7344\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1>\u4fdd\u5b88\u6027\u304c\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3053\u3046\u305c\uff01<\/h1>\n<p>\u6614\u306f\u3053\u306e\u3088\u3046\u306a\u66f8\u304d\u65b9\u304c\u4e3b\u6d41\u3068\u306a\u3063\u3066\u3044\u308b\u6642\u4ee3\u3082\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u6628\u4eca\u3042\u307e\u308a\u307f\u306a\u3044\u547d\u540d\u898f\u5247\u3068\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u304d\u3063\u3068\u300c\u3053\u306e\u8a18\u6cd5\u4fdd\u5b88\u3057\u3065\u3089\u3044\u3088\u306d\u300d\u3068\u601d\u3046\u4eba\u304c\u591a\u304b\u3063\u305f\u306e\u3067\u3069\u3093\u3069\u3093\u6e1b\u3063\u3066\u3044\u3063\u305f\u306e\u3060\u308d\u3046\u3068\u60f3\u50cf\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u958b\u767a\u52b9\u7387\u3092\u4e0a\u3052\u308b\u305f\u3081\u306e\u7406\u5c48\u304c\u306a\u3044\u306e\u3067\u3042\u308c\u3070\u3001\u3053\u306e\u3088\u3046\u306b\u8ab0\u306b\u3068\u3063\u3066\u3082\u3046\u308c\u3057\u304f\u306a\u3044\u898f\u5247\u306f\u3055\u3063\u3055\u3068\u3054\u9000\u5834\u9858\u3044\u305f\u3044\u3082\u306e\u3067\u3059\u306d\u3002\u3002\u3002<\/p>\n<p>\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306e\u3088\u3046\u306a\u66f8\u304d\u65b9\u3092\u63a1\u7528\u3059\u308b\u304b\u3069\u3046\u304b\u306f\u3068\u3082\u304b\u304f\u3068\u3057\u3066\u3001\u534a\u5e74\u5f8c\u3084\u4e00\u5e74\u5f8c\u306e\u81ea\u5206\u304c\u898b\u305f\u6642\u306b\u8f9b\u304f\u306a\u3089\u306a\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u3046\u3059\u308c\u3070\u30b7\u30b9\u30c6\u30e0\u306f\u5909\u66f4\u306b\u5f37\u304f\u306a\u308b\u3057\u3001\u5468\u308a\u306e\u4eba\u306f\u4fee\u6b63\u3057\u3084\u3059\u304f\u306a\u308b\u3057\u3001\u81ea\u5206\u306f\u4ef2\u9593\u306b\u5c0a\u656c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3057\u3067\u7d50\u679c\u307f\u3093\u306a\u30cf\u30c3\u30d4\u30fc\u306b\u306a\u308c\u307e\u3059\u3088\uff01<br \/>\n\uff08\u7121\u7406\u3084\u308a\u307e\u3068\u3081\u305f\u611f\uff09<\/p>\n<h1>\u30af\u30ed\u30fc\u30b8\u30f3\u30b0<\/h1>\n<p>\u3075\u3068\u601d\u3044\u7acb\u3063\u305f\u306e\u3067\u3001\u3044\u307e\u3069\u304d\u30cf\u30f3\u30ac\u30ea\u30a2\u30f3\u8a18\u6cd5\u306a\u3093\u3066\u4f7f\u3063\u3066\u308b\u3068\u3053\u308d\u306a\u3044\u3067\u3057\u3087 \u3068\u601d\u3044\u306a\u304c\u3089\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u7121\u7406\u3084\u308a\u307e\u3068\u3081\u307e\u3057\u305f\u304c\u3001\u4fdd\u5b88\u6027\u304c\u9ad8\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3053\u3046\u305c\uff01\u3068\u3044\u3046\u306e\u306f\u5e38\u3005\u601d\u3046\u3053\u3068\u306a\u306e\u3067\u3064\u3044\u66f8\u3044\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u5049\u305d\u3046\u306a\u3053\u3068\u3092\u66f8\u3044\u305f\u3068\u3053\u308d\u3067\u7d42\u308f\u308a\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u307e\u305f\u6b21\u306e\u6a5f\u4f1a\u306b\u3002<\/p>\n<div class=\"speaker-mute footnotes_reference_container\"> <div class=\"footnote_container_prepare\"><p><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_label pointer\" onclick=\"footnote_expand_collapse_reference_container_4570_1();\">\u6ce8\u8a33\u306f\u3053\u3061\u3089<\/span><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_collapse_button\" style=\"display: none;\" onclick=\"footnote_expand_collapse_reference_container_4570_1();\">[<a id=\"footnote_reference_container_collapse_button_4570_1\">+<\/a>]<\/span><\/p><\/div> <div id=\"footnote_references_container_4570_1\" style=\"\"><table class=\"footnotes_table footnote-reference-container\"><caption class=\"accessibility\">\u6ce8\u8a33\u306f\u3053\u3061\u3089<\/caption> <tbody> \r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_4570_1('footnote_plugin_tooltip_4570_1_1');\"><a id=\"footnote_plugin_reference_4570_1_1\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>1<\/a><\/th> <td class=\"footnote_plugin_text\">\u672c\u6765\u3064\u3051\u305f\u3044\u540d\u524d\u306e\u524d\u65b9\u306b\u4ed8\u4e0e\u3059\u308b\u6587\u8a00<\/td><\/tr>\r\n\r\n <\/tbody> <\/table> <\/div><\/div><script type=\"text\/javascript\"> function footnote_expand_reference_container_4570_1() { jQuery('#footnote_references_container_4570_1').show(); jQuery('#footnote_reference_container_collapse_button_4570_1').text('\u2212'); } function footnote_collapse_reference_container_4570_1() { jQuery('#footnote_references_container_4570_1').hide(); jQuery('#footnote_reference_container_collapse_button_4570_1').text('+'); } function footnote_expand_collapse_reference_container_4570_1() { if (jQuery('#footnote_references_container_4570_1').is(':hidden')) { footnote_expand_reference_container_4570_1(); } else { footnote_collapse_reference_container_4570_1(); } } function footnote_moveToReference_4570_1(p_str_TargetID) { footnote_expand_reference_container_4570_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } } function footnote_moveToAnchor_4570_1(p_str_TargetID) { footnote_expand_reference_container_4570_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } }<\/script>","protected":false},"excerpt":{"rendered":"<p>Agent Grow Advent Calendar 2017 13\u65e5\u76ee\u3092\u62c5\u5f53\u3059\u308b\u3068\u3063\u3064\u3041\u3093\u3067\u3059\u3002 \u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u30fc\u6298\u308a\u8fd4\u3057\u5730\u70b9\u3067\u3059\u306d\u3002 \u30ad\u30ea\u304c\u3044\u3044\u3068\u3053\u308d\u306a\u306e\u3067\u3001\u305d\u308c\u306b\u3075\u3055\u308f\u3057\u3044(\uff1f)\u8a18\u4e8b\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30c6\u30fc\u30de [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":5046,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[248,251,282],"class_list":["post-4570","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-agent-grow-advent-calendar-2017","tag-251","tag-282"],"jetpack_featured_media_url":"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2017\/11\/hanngarian.jpg","jetpack_shortlink":"https:\/\/wp.me\/p7Bq4F-1bI","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/4570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/comments?post=4570"}],"version-history":[{"count":0,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/4570\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media\/5046"}],"wp:attachment":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media?parent=4570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/categories?post=4570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/tags?post=4570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}