
{"id":8735,"date":"2025-02-03T20:16:39","date_gmt":"2025-02-03T11:16:39","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=8735"},"modified":"2025-02-03T20:16:41","modified_gmt":"2025-02-03T11:16:41","slug":"clang-struct","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/clang-struct\/","title":{"rendered":"\u3010C\u8a00\u8a9e\u5165\u9580\u3011\u69cb\u9020\u4f53\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\uff08\u5ba3\u8a00\u30fb\u521d\u671f\u5316\u30fb\u30dd\u30a4\u30f3\u30bf\uff09"},"content":{"rendered":"\n<p>C\u8a00\u8a9e\u3067\u306f<strong>\u69cb\u9020\u4f53<\/strong>\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u95a2\u9023\u3059\u308b\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30921\u3064\u306b\u307e\u3068\u3081\u3066\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u69d8\u3005\u306a\u500b\u4eba\u60c5\u5831\u3092\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u5206\u3051\u3066\u51e6\u7406\u3059\u308b\u5834\u5408\u3084\u30012\u6b21\u5143\u30fb3\u6b21\u5143\u7a7a\u9593\u306e\u5ea7\u6a19\u3092\u8868\u73fe\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u30c7\u30fc\u30bf\u306e\u96c6\u5408\u3092\u6271\u3046\u969b\u306b\u69cb\u9020\u4f53\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e00\u3064\u4e00\u3064\u306e\u30c7\u30fc\u30bf\u3054\u3068\u306b\u5909\u6570\u3092\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u52b9\u7387\u7684\u304b\u3064\u5206\u304b\u308a\u3084\u3059\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u69cb\u9020\u4f53\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3092\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">C\u8a00\u8a9e\u306e\u69cb\u9020\u4f53\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>C\u8a00\u8a9e\u306b\u304a\u3051\u308b<strong>\u69cb\u9020\u4f53<\/strong>\uff08Structure\uff09\u306f\u3001\u8907\u6570\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u683c\u7d0d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30c7\u30fc\u30bf\u578b\u306e\u4e00\u7a2e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u69cb\u9020\u4f53\u306e\u4e2d\u306b\u542b\u307e\u308c\u308b\u5404\u30c7\u30fc\u30bf\u3092\u300c<strong>\u30e1\u30f3\u30d0<\/strong>\uff08member\uff09\u300d\u3068\u547c\u3073\u3001\u305d\u308c\u305e\u308c\u306b\u540d\u524d\u3092\u4ed8\u3051\u3066\u7ba1\u7406\u3057\u307e\u3059\u3002\u5024\u3092\u4ee3\u5165\u3059\u308b\u305f\u3081\u306e\u5909\u6570\u304c\u8907\u6570\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3068\u8003\u3048\u308b\u3068\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>C\u8a00\u8a9e\u3067\u69cb\u9020\u4f53\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u5b9f\u4f53\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u3068\u547c\u3070\u308c\u308b\u30c7\u30fc\u30bf\u306e\u96c6\u5408\u3092\u5909\u6570\u3068\u3057\u3066\u5ba3\u8a00\u3057\u3001\u305d\u306e\u5909\u6570\u3092\u3082\u3068\u306b\u5404\u30e1\u30f3\u30d0\u3092\u547c\u3073\u51fa\u3057\u3066\u5024\u306e\u4ee3\u5165\u3084\u53d6\u5f97\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f3c\u305f\u3088\u3046\u306a\u50cd\u304d\u3092\u3059\u308b\u3082\u306e\u306b\u914d\u5217\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u914d\u5217\u306f\u540c\u3058\u30c7\u30fc\u30bf\u578b\u540c\u58eb\u3057\u304b\u683c\u7d0d\u3067\u304d\u306a\u3044\u306e\u306b\u5bfe\u3057\u3001\u69cb\u9020\u4f53\u306f int \u3084 char \u306a\u3069\u306e\u7570\u306a\u308b\u30c7\u30fc\u30bf\u578b\u540c\u58eb\u30671\u3064\u306e\u69cb\u9020\u4f53\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u70b9\u3067\u5927\u304d\u304f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">\u69cb\u9020\u4f53\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u69cb\u9020\u4f53\u306e\u5ba3\u8a00\u65b9\u6cd5\u3084\u521d\u671f\u5316\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306a\u3069\u3001\u57fa\u790e\u7684\u306a\u90e8\u5206\u304b\u3089\u9806\u756a\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">struct\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u69cb\u9020\u4f53\u3092\u5ba3\u8a00\u3059\u308b<\/h3>\n\n\n\n<p>\u69cb\u9020\u4f53\u3092\u5909\u6570\u3068\u3057\u3066\u6271\u3046\u305f\u3081\u306b\u306f\u3001\u3042\u3089\u304b\u3058\u3081\u3069\u306e\u3088\u3046\u306a\u30e1\u30f3\u30d0\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u69cb\u6210\u5185\u5bb9\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>struct \u69cb\u9020\u4f53\u30bf\u30b0\u540d { \n    \u30c7\u30fc\u30bf\u578b\u540d1 \u30e1\u30f3\u30d0\u540d1; \n    \u30c7\u30fc\u30bf\u578b\u540d2 \u30e1\u30f3\u30d0\u540d2; \n    \u30fb\u30fb\u30fb\n};<\/code><\/pre>\n\n\n\n<p>\u300c<strong>struct<\/strong>\u300d\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u5f8c\u306b\u69cb\u9020\u4f53\u306e\u30bf\u30b0\u540d\u3092\u6307\u5b9a\u3057\u3001\u300c{};\u300d\u30d6\u30ed\u30c3\u30af\u306e\u5185\u90e8\u306b\u4fdd\u6301\u3057\u305f\u3044\u30e1\u30f3\u30d0\u306e\u30c7\u30fc\u30bf\u578b\u540d\u3068\u30e1\u30f3\u30d0\u540d\u3092\u9806\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br>\u4f5c\u6210\u3057\u305f\u69cb\u9020\u4f53\u306e\u5b9f\u4f53\u3092\u751f\u6210\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u5ba3\u8a00\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>struct \u69cb\u9020\u4f53\u30bf\u30b0\u540d \u5909\u6570\u540d;<\/code><\/pre>\n\n\n\n<p>\u69cb\u9020\u4f53\u306e\u30c7\u30fc\u30bf\u578b\u540d\u306f\u300c\u30bf\u30b0\u540d\u300d\u3067\u306f\u306a\u304f\u300cstruct \u30bf\u30b0\u540d\u300d\u306e\u305f\u3081\u3001\u5909\u6570\u3092\u5ba3\u8a00\u3059\u308b\u969b\u306b\u306f\u5fc5\u305a\u30bf\u30b0\u540d\u306e\u524d\u306bstruct\u3092\u4ed8\u3051\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3092\u306a\u308b\u3079\u304f\u7c21\u6f54\u306b\u66f8\u304d\u305f\u3044\uff01\u3068\u3044\u3046\u5834\u5408\u306b\u306f\u3001\u300c<strong>typedef<\/strong>\u300d\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u578b\u306e\u540d\u524d\u3092\u65b0\u3057\u304f\u4ed8\u3051\u76f4\u3059\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>typedef struct character {\n    char *name;\n    int age;\n    int height;\n    int weight;\n} CHARACTER;\n\nCHARACTER chara; \/\/ \u5909\u6570\u306e\u5ba3\u8a00\u6642<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u65b0\u305f\u306b\u300cCHARACTER\u300d\u3068\u3044\u3046\u30c7\u30fc\u30bf\u578b\u304c\u4f5c\u6210\u3055\u308c\u3001\u5ba3\u8a00\u6642\u306e\u578b\u540d\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>typedef\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u30bf\u30b0\u540d\u3092\u7701\u7565\u3057\u3066\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>typedef struct {\n    char *name;\n    int age;\n    int height;\n    int weight;\n} CHARACTER;<\/code><\/pre>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">\u69cb\u9020\u4f53\u3092\u521d\u671f\u5316\u3059\u308b<\/h3>\n\n\n\n<p>\u7d9a\u3044\u3066\u3001\u4f5c\u6210\u3057\u305f\u5b9f\u4f53\u3092\u521d\u671f\u5316\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>\u69cb\u9020\u4f53\u306e\u521d\u671f\u5316\u306e\u65b9\u6cd5\u306f\u3001\u5ba3\u8a00\u6642\u306b\u307e\u3068\u3081\u3066\u5024\u3092\u4ee3\u5165\u3059\u308b\u65b9\u6cd5\u3068\u3001\u5ba3\u8a00\u5f8c\u306b\u305d\u308c\u305e\u308c\u306e\u30e1\u30f3\u30d0\u306b\u4ee3\u5165\u3059\u308b\u65b9\u6cd5\u306e\u4e8c\u3064\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5ba3\u8a00\u3068\u540c\u6642\u306b\u4e00\u62ec\u3067\u4ee3\u5165\u3059\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30c7\u30fc\u30bf\u578b(\u69cb\u9020\u4f53)\u540d  \u5909\u6570\u540d = { \u50241, \u50242, ... };<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3046\u969b\u306e\u6ce8\u610f\u70b9\u3067\u3059\u304c\u3001\u4e00\u5ea6\u306b\u5168\u3066\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u4ee3\u5165\u3067\u304d\u308b\u306e\u306f\u3001\u5909\u6570\u3092\u5ba3\u8a00\u3059\u308b\u6642\u306e\u307f\u3068\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4f8b\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u305f\u3081\u3001\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u30b3\u30fc\u30c9\u306e\u4f8b\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CHARACTER chara; \nchara = {\"Taro\", 26, 178, 64};<\/code><\/pre>\n\n\n\n<p>\u5404\u30e1\u30f3\u30d0\u306b\u500b\u5225\u3067\u4ee3\u5165\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30c7\u30fc\u30bf\u578b(\u69cb\u9020\u4f53)\u540d  \u5909\u6570\u540d;\n\n\u5909\u6570\u540d.\u30e1\u30f3\u30d0\u540d1 = \u50241;\n\u5909\u6570\u540d.\u30e1\u30f3\u30d0\u540d2 = \u50242;\n...<\/code><\/pre>\n\n\n\n<p>\u5909\u6570\u540d\u306e\u5f8c\u306b\u300c. (\u30c9\u30c3\u30c8)\u300d\u3092\u4ed8\u3051\u3066\u30e1\u30f3\u30d0\u540d\u3092\u7e4b\u3052\u308b\u3053\u3068\u3067\u3001\u5404\u30e1\u30f3\u30d0\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3001\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\n\/\/ struct+\u30bf\u30b0\u540d\u306e\u5834\u5408\nstruct character {\n    char *name; \n    int  age;\n    char *gender;\n    char *blood;\n    char *job;\n};\n \n\/\/ typedef\u3092\u4f7f\u3046\u5834\u5408\ntypedef struct {\n    char *name; \n    int  age;\n    char *gender;\n    char *blood;\n    char *job;\n} CHARACTER;\n\n\/\/ \u4ee3\u5165\u7528\u306e\u95a2\u6570\nCHARACTER init(char *name, int age, char *gender, char *blood, char *job){\n    \n    CHARACTER chara;\n\n    chara.name = name;\n    chara.age = age;\n    chara.gender = gender;\n    chara.blood = blood;\n    chara.job = job;\n\n    return chara;\n}\n\nint main() {\n\n    \/\/\u3000\u4e00\u62ec\u4ee3\u5165\u3067\u521d\u671f\u5316\n    struct character alex = {\"Alex\", 17, \"\u7537\", \"A\", \"\u5263\u58eb\"};\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", alex.name, alex.age, alex.gender, alex.blood, alex.job);\n\n    \/\/\u3000\u500b\u5225\u4ee3\u5165\u3067\u521d\u671f\u5316\n    CHARACTER bella;\n    bella.name = \"Bella\";\n    bella.age = 16;\n    bella.gender = \"\u5973\";\n    bella.blood = \"AB\";\n    bella.job = \"\u9b54\u6cd5\u4f7f\u3044\";\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", bella.name, bella.age, bella.gender, bella.blood, bella.job);\n\n    \/\/ \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\n    CHARACTER kate;\n    kate = init(\"Kate\", 30, \"\u4e0d\u660e\", \"O\", \"\u50e7\u4fb6\");\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", kate.name, kate.age, kate.gender, kate.blood, kate.job);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u540d\u524d\uff1aAlex \u5e74\u9f62\uff1a17 \u6027\u5225\uff1a\u7537 \u8840\u6db2\u578b\uff1aA \u8077\u696d\uff1a\u5263\u58eb\n\u540d\u524d\uff1aBella \u5e74\u9f62\uff1a16 \u6027\u5225\uff1a\u5973 \u8840\u6db2\u578b\uff1aAB \u8077\u696d\uff1a\u9b54\u6cd5\u4f7f\u3044\n\u540d\u524d\uff1aKate \u5e74\u9f62\uff1a30 \u6027\u5225\uff1a\u4e0d\u660e \u8840\u6db2\u578b\uff1aO \u8077\u696d\uff1a\u50e7\u4fb6<\/code><\/pre>\n\n\n\n<p>\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u4e00\u62ec\u4ee3\u5165\u3059\u308b\u65b9\u6cd5\u3068\u500b\u5225\u4ee3\u5165\u3059\u308b\u65b9\u6cd5\u306b\u52a0\u3048\u3001\u4ee3\u5165\u7528\u306e\u95a2\u6570\u3092\u81ea\u4f5c\u3057\u3066\u4f7f\u7528\u3059\u308b\u4f8b\u3082\u5408\u308f\u305b\u3066\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u95a2\u6570\u5185\u3067\u5b9f\u4f53\u3092\u751f\u6210\u3057\u3001\u5f15\u6570\u306e\u5024\u3092\u4f7f\u3063\u3066\u521d\u671f\u5316\u3057\u305f\u5f8c\u306b\u623b\u308a\u5024\u3068\u3057\u3066\u8fd4\u3059\u3053\u3068\u3067\u3001\u751f\u6210\u3057\u305f\u5b9f\u4f53\u3092\u5225\u306e\u5909\u6570\u3078\u3068\u4ee3\u5165\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5ba3\u8a00\u6642\u306e\u4e00\u62ec\u4ee3\u5165\u3068\u540c\u3058\u3088\u3046\u306a\u611f\u899a\u3067\u3001\u4efb\u610f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u521d\u671f\u5316\u3084\u518d\u4ee3\u5165\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u4fbf\u5229\u306a\u65b9\u6cd5\u306a\u306e\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4f5c\u6210\u3057\u3066\u304a\u304f\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_3\" class=\"wp-block-heading\"><strong>Windows\u3067\u5b9f\u884c\u7d50\u679c\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3057\u307e\u3046\u5834\u5408\u306e\u5bfe\u51e6\u6cd5<\/strong><\/h3>\n\n\n\n<p>\u65e5\u672c\u8a9e\u306e\u6587\u5b57\u5217\u3092\u6271\u3063\u3066\u3044\u308bC\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092Windows\u74b0\u5883\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b63\u5e38\u306b\u8868\u793a\u3055\u308c\u305a\u6587\u5b57\u5316\u3051\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5834\u5408\u306f\u3001\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u524d\u306b\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067 <strong>chcp 65001<\/strong> \u3068\u5165\u529b\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066 &#8220;Active Code Page: 65001&#8221; \u3068\u8868\u793a\u3055\u308c\u3066\u304b\u3089\u3082\u3046\u4e00\u5ea6\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3046\u3068\u3001\u6b63\u5e38\u306a\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306fC\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3068\u3001Windows\u306eOS\u5185\u306e\u57fa\u672c\u8a2d\u5b9a\u3068\u3067<strong>\u6587\u5b57\u30b3\u30fc\u30c9<\/strong>\u304c\u7570\u306a\u308b\u305f\u3081\u767a\u751f\u3059\u308b\u73fe\u8c61\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u591a\u304f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u306f <strong>UTF-8<\/strong> \u3068\u3044\u3046\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u306b\u5bfe\u3057\u3001Windows\u306e\u8a00\u8a9e\u8a2d\u5b9a\u3092\u65e5\u672c\u8a9e\u306b\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u306f\u57fa\u672c\u7684\u306b <strong>CP932<\/strong> \u3068\u3044\u3046\u6587\u5b57\u30b3\u30fc\u30c9\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u6587\u5b57\u30b3\u30fc\u30c9\u304c\u7570\u306a\u308b\u3068\u3001\u305d\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u5185\u30671\u6587\u5b57\u305a\u3064\u306b\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u308b\u8b58\u5225\u756a\u53f7\u3082\u7570\u306a\u308b\u305f\u3081\u3001\u6587\u5b57\u5316\u3051\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u65b9\u6cd5\u3067\u306f\u3001\u5b9f\u884c\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068\u540c\u4e00\u306e <strong>UTF-8<\/strong> \u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u6587\u5b57\u5316\u3051\u3092\u56de\u907f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u69cb\u9020\u4f53\u306e\u30dd\u30a4\u30f3\u30bf\u3001\u30a2\u30ed\u30fc\u6f14\u7b97\u5b50\u306e\u4f7f\u3044\u65b9<\/h2>\n\n\n\n<p>\u6b21\u306b\u3001\u30dd\u30a4\u30f3\u30bf\u3084\u30a2\u30ed\u30fc\u6f14\u7b97\u5b50\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u3044\u308b\u65b9\u306e\u4e2d\u306b\u306f\u3001\u305d\u3082\u305d\u3082\u30dd\u30a4\u30f3\u30bf\u3068\u306f\u4f55\u306a\u306e\u304b\uff1f\u3068\u7591\u554f\u306b\u611f\u3058\u3066\u3044\u308b\u65b9\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u30dd\u30a4\u30f3\u30bf\u3068\u306f\u3001\u7aef\u7684\u306b\u307e\u3068\u3081\u308b\u3068\u300c\u30a2\u30c9\u30ec\u30b9\u3092\u4ee3\u5165\u3059\u308b\u305f\u3081\u306e\u5909\u6570\u300d\u306e\u3053\u3068\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u6642\u306b\u4f7f\u7528\u3059\u308b\u30e1\u30e2\u30ea\u306b\u306f\u3001\u5404\u9818\u57df\u306e\u5834\u6240\u3092\u793a\u3059\u305f\u3081\u306e\u756a\u53f7\u304c\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br>\u5909\u6570\u306f\u57fa\u672c\u7684\u306b\u3001\u5ba3\u8a00\u6642\u306b\u78ba\u4fdd\u3055\u308c\u305f\u30e1\u30e2\u30ea\u9818\u57df\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u60c5\u5831\u3068\u3057\u3066\u4fdd\u6301\u3057\u3066\u304a\u308a\u3001\u305d\u306e\u30a2\u30c9\u30ec\u30b9\u60c5\u5831\u3092\u5143\u306b\u9818\u57df\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u5024\u306e\u4ee3\u5165\u3084\u5909\u66f4\u3092\u884c\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u65b9\u3067\u30dd\u30a4\u30f3\u30bf\u306f\u3001\u4ed6\u306e\u5909\u6570\u306b\u4e0e\u3048\u3089\u308c\u3066\u3044\u308b\u30a2\u30c9\u30ec\u30b9\u60c5\u5831\u305d\u306e\u3082\u306e\u3092\u683c\u7d0d\u3057\u3066\u6271\u3044\u307e\u3059\u3002<br>\u30dd\u30a4\u30f3\u30bf\u3092\u4ecb\u3057\u3066\u30a2\u30c9\u30ec\u30b9\u60c5\u5831\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u3067\u3001\u95a2\u6570\u306e\u30d6\u30ed\u30c3\u30af\u5185\u3067\u547c\u3073\u51fa\u3057\u5143\u306b\u3042\u308b\u5909\u6570\u3092\u76f4\u63a5\u6271\u3046\u306a\u3069\u3001\u672c\u6765\u306e\u5909\u6570\u3067\u306f\u3067\u304d\u306a\u3044\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30bf\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u5ba3\u8a00\u65b9\u6cd5\u306f\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30c7\u30fc\u30bf\u578b\u540d *\u30dd\u30a4\u30f3\u30bf\u540d;<\/code><\/pre>\n\n\n\n<p>\u901a\u5e38\u306e\u5909\u6570\u306e\u6642\u3068\u306f\u5c11\u3005\u7570\u306a\u308a\u3001\u30dd\u30a4\u30f3\u30bf\u540d\u306e\u524d\u306b\u300c*(\u30a2\u30b9\u30bf\u30ea\u30b9\u30af)\u300d\u3092\u4ed8\u3051\u3066\u5ba3\u8a00\u3057\u307e\u3059\u3002<br>\u307e\u305f\u3001\u30dd\u30a4\u30f3\u30bf\u306b\u5024\u3092\u4ee3\u5165\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300c&amp;(\u30a2\u30f3\u30d1\u30b5\u30f3\u30c9\uff09\u300d\u3092\u4ed8\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30dd\u30a4\u30f3\u30bf\u540d = &amp;\u5909\u6570\u540d;<\/code><\/pre>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30bf\u306f\u3001\u69cb\u9020\u4f53\u306b\u5bfe\u3057\u3066\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30c8\u3092\u4ecb\u3057\u3066\u30e1\u30f3\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306b\u4f7f\u3046\u306e\u304c\u3001\u300c->(\u30a2\u30ed\u30fc\u6f14\u7b97\u5b50)\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3001\u5b9f\u969b\u306e\u4f7f\u7528\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\ntypedef struct {\n    char *name;\n    char *gender;\n    int age;\n    char *blood;\n    char *job;\n} CHARACTER;\n\nint main() {\n    CHARACTER jhone, *p;\n\n    \/\/ \u5b9f\u4f53\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u30dd\u30a4\u30f3\u30bf\u306b\u4ee3\u5165\n    p = &amp;jhone;\n\n    \/\/ \u30dd\u30a4\u30f3\u30bf\u3092\u7d4c\u7531\u3057\u3066\u521d\u671f\u5316\n    p->name = \"Jhone\";\n    p->gender = \"\u7537\";\n    p->age = 25;\n    p->blood = \"B\";\n    p->job = \"\u683c\u95d8\u5bb6\";\n\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", jhone.name, jhone.age, jhone.gender, jhone.blood, jhone.job);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u540d\u524d\uff1aJhone \u5e74\u9f62\uff1a25 \u6027\u5225\uff1a\u7537 \u8840\u6db2\u578b\uff1aB \u8077\u696d\uff1a\u683c\u95d8\u5bb6<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30a2\u30ed\u30fc\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u3066\u69cb\u9020\u4f53\u306e\u30e1\u30f3\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30dd\u30a4\u30f3\u30bf\u306b\u306f\u69cb\u9020\u4f53\u306e\u30a2\u30c9\u30ec\u30b9\u60c5\u5831\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30dd\u30a4\u30f3\u30bf\u3092\u7d4c\u7531\u3057\u3066\u4ee3\u5165\u3057\u305f\u5024\u304c\u5b9f\u4f53\u306b\u3082\u5f71\u97ff\u3057\u3066\u3044\u308b\u306e\u304c\u7d50\u679c\u304b\u3089\u3082\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">\u69cb\u9020\u4f53\u306e\u5b9f\u4f53\u3092\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f\uff1f<\/h2>\n\n\n\n<p>\u69cb\u9020\u4f53\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3063\u3066\u3044\u308b\u3068\u304d\u3001\u300c\u69cb\u9020\u4f53\u306e\u5024\u3092\u5225\u306e\u5909\u6570\u306b\u30b3\u30d4\u30fc\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u5834\u5408\u3082\u3042\u308a\u5f97\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u4f53\u3092\u4e38\u3054\u3068\u30b3\u30d4\u30fc\u3059\u308b\u5834\u5408\u306f\u3001\u540c\u3058\u69cb\u6210\u5185\u5bb9\u306e\u69cb\u9020\u4f53\u540c\u58eb\u3067\u3042\u308c\u3070\u3001\u901a\u5e38\u306e\u5909\u6570\u3068\u540c\u3058\u3088\u3046\u306b\u4ee3\u5165\u5f0f\u3092\u4f7f\u3063\u3066\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\ntypedef struct {\n    char *name;\n    int age;\n    char *gender;\n    char *blood;\n    char *job;\n} CHARACTER;\n\nint main() {\n    CHARACTER chara1, chara2;\n\n    chara1.name = \"Jhone\";\n    printf(\"chara1\u306e\u540d\u524d\uff1a%s\\n\", chara1.name);\n\n        \/\/ \u5b9f\u4f53\u3092\u30b3\u30d4\u30fc\n        chara2 = chara1;\n\n    printf(\"chara2\u306e\u540d\u524d\uff1a%s\\n\", chara2.name);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chara1\u306e\u540d\u524d\uff1aJhone\nchara2\u306e\u540d\u524d\uff1aJhone<\/code><\/pre>\n\n\n\n<p>\u95a2\u6570\u306e\u5f15\u6570\u306b\u5b9f\u4f53\u3092\u6e21\u3057\u3066\u3001\u5b9f\u884c\u4e2d\u306e\u30d6\u30ed\u30c3\u30af\u5185\u3067\u4ee3\u5165\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\ntypedef struct {\n    char *name;\n    int age;\n    char *gender;\n    char *blood;\n    char *job;\n} CHARACTER;\n\nvoid copyChara(CHARACTER chara) {\n\n         \/\/ \u5f15\u6570\u3067\u6e21\u3055\u308c\u305f\u5b9f\u4f53\u3092\u4ee3\u5165\n        CHARACTER chara2 = chara;\n    printf(\"chara2\u306e\u540d\u524d\uff1a%s\\n\", chara2.name);\n}\n\nint main() {\n\n    CHARACTER chara1;\n\n    chara1.name = \"Jhone\";\n    printf(\"chara1\u306e\u540d\u524d\uff1a%s\\n\", chara1.name);\n\n         \/\/ \u751f\u6210\u3057\u305f\u5b9f\u4f53\u3092\u5f15\u6570\u306b\u6e21\u3059\n        copyChara(chara1);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chara1\u306e\u540d\u524d\uff1aJhone<br>chara2\u306e\u540d\u524d\uff1aJhone<\/code><\/pre>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u5b9f\u4f53\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\uff1f<\/h2>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u5b9f\u4f53\u304c\u540c\u3058\u5185\u5bb9\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03\u3059\u308b\u6642\u3001\u4e3b\u306b\uff12\u3064\u306e\u6bd4\u8f03\u65b9\u6cd5\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff11\u3064\u306f\u3001\u5b9f\u4f53\u306e\u5404\u30e1\u30f3\u30d0\u3054\u3068\u306b\u5024\u3092\u6bd4\u3079\u3066\u5224\u65ad\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30e1\u30f3\u30d0\u306e\u6570\u304c\u591a\u3044\u307b\u3069\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u306b\u624b\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u3068\u3001\u69cb\u9020\u4f53\u306e\u5b9a\u7fa9\u5185\u5bb9\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u306b\u4fee\u6b63\u3092\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3082\u3046\uff11\u3064\u306e\u65b9\u6cd5\u306f\u5f8c\u8ff0\u3059\u308b\u7406\u7531\u306b\u3088\u308a\u6b63\u78ba\u6027\u306b\u3084\u3084\u6b20\u3051\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b\u305f\u3081\u3001\u3088\u308a\u78ba\u5b9f\u306b\u52d5\u4f5c\u3059\u308b\u65b9\u6cd5\u306f\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u65b9\u6cd5\u3067\u6bd4\u8f03\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u95a2\u6570\u3092\u81ea\u4f5c\u3057\u3066\u69cb\u9020\u4f53\u306e\u8fd1\u304f\u306b\u7f6e\u3044\u3066\u304a\u304f\u3068\u7ba1\u7406\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n#include &lt;stdbool.h>\n#include &lt;string.h>\n\ntypedef struct\n{\n    char *name;\n    int age;\n    char *gender;\n} CHARACTER;\n\nbool equalChara(CHARACTER *chara1, CHARACTER *chara2)\n{\n\n    if (strcmp(chara1->name, chara2->name) != 0)\n    {\n        return false;\n    }\n    if (chara1->age != chara2->age)\n    {\n        return false;\n    }\n    if (strcmp(chara1->gender, chara2->gender) != 0)\n    {\n        return false;\n    }\n    return true;\n}\n\nint main()\n{\n\n    CHARACTER chara1 = {\"Emma\", 20, \"\u5973\"};\n\n    CHARACTER chara2 = chara1;\n\n    \/\/ \u6bd4\u8f03\u7d50\u679c\u3092\u8868\u793a\n    printf(\"%d\\n\", equalChara(&amp;chara1, &amp;chara2));\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1<\/code><\/pre>\n\n\n\n<p>C\u8a00\u8a9e\u3067\u306f<strong>\u771f\u507d\u5024<\/strong>\uff08true\/false\uff09\u3092\u6574\u6570\u5024\u3068\u3057\u3066\u8fd4\u3059\u5834\u5408\u3001 <strong>false = 0, true = 1<\/strong> \u3068\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u3053\u3053\u3067\u306f1\u304c\u8fd4\u3063\u3066\u304d\u3066\u3044\u308b\u3053\u3068\u3067\u6bd4\u8f03\u3057\u305f\u7d50\u679c\u304c\u540c\u5024\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3046\uff11\u3064\u306e\u6bd4\u8f03\u65b9\u6cd5\u3068\u3057\u3066\u3001memcmp\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u6bd4\u8f03\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u69cb\u9020\u4f53\u306b\u304a\u3044\u3066\u306f\u3042\u307e\u308a\u63a8\u5968\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u306a\u305c\u306a\u3089\u3001\u5168\u304f\u540c\u3058\u5185\u5bb9\u306e\u5024\u304c\u5165\u308c\u3089\u308c\u3066\u3044\u308b\u69cb\u9020\u4f53\u3067\u3082\u3001\u305d\u306e\u4ed6\u306e\u30b3\u30fc\u30c9\u5185\u5bb9\u3084\u5b9f\u884c\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u30b5\u30a4\u30ba\u304c\u7570\u306a\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u305c\u305d\u306e\u3088\u3046\u306a\u73fe\u8c61\u304c\u8d77\u3053\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u300c\u30a2\u30e9\u30a4\u30e1\u30f3\u30c8\u300d\u3068\u3044\u3046\u6a5f\u80fd\u304c\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059\u3002<br>C\u8a00\u8a9e\u3067\u306f\u3001\u5404\u5909\u6570\u306e\u30e1\u30e2\u30ea\u9818\u57df\u3092\u78ba\u4fdd\u3059\u308b\u5834\u5408\u306b\u3001CPU\u304c\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u30e1\u30e2\u30ea\u4e0a\u306e\u4f4d\u7f6e\u8abf\u6574\u3092\u81ea\u52d5\u3067\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u8abf\u6574\u4f5c\u696d\u306e\u3053\u3068\u3092\u30a2\u30e9\u30a4\u30e1\u30f3\u30c8\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u69cb\u9020\u4f53\u3092\u5ba3\u8a00\u3059\u308b\u3068\u3001\u3053\u306e\u30a2\u30e9\u30a4\u30e1\u30f3\u30c8\u306b\u3088\u3063\u3066\u4f59\u5206\u306a\u9699\u9593\u304c\u610f\u56f3\u7684\u306b\u4f5c\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3059\u3002\u3053\u306e\u9699\u9593\u306e\u3053\u3068\u3092\u300c\u30d1\u30c7\u30a3\u30f3\u30b0\u300d\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u9020\u4f53\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>struct sample {\n  char a;\n  int num;\n};<\/code><\/pre>\n\n\n\n<p>\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u4f8b\u3067\u306fchar\u304c\uff11\u30d0\u30a4\u30c8\u3001int\u304c\uff14\u30d0\u30a4\u30c8\u3060\u3063\u305f\u3068\u3057\u307e\u3059\u3002<br>\u306a\u306e\u3067\u3001\u69cb\u9020\u4f53\u306e\u30b5\u30a4\u30ba\u306f\u5404\u30e1\u30f3\u30d0\u306e\u5408\u8a08\u3067\u3042\u308b\uff15\u30d0\u30a4\u30c8\u2026\u2026\u3067\u306f\u306a\u304f\u3001\u5b9f\u969b\u306f\uff18\u30d0\u30a4\u30c8\u306b\u306a\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304c\u3001\u5148\u307b\u3069\u8aac\u660e\u3057\u305f\u30a2\u30e9\u30a4\u30e1\u30f3\u30c8\u306e\u5f71\u97ff\u3067\u3059\u3002\u30e1\u30e2\u30ea\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u57fa\u672c\u7684\u306b\u5076\u6570\u5358\u4f4d\uff084\u30d0\u30a4\u30c8\u306e\u30b1\u30fc\u30b9\u304c\u591a\u3044\uff09\u3067\u884c\u308f\u308c\u308b\u305f\u3081\u3001\u9818\u57df\u3054\u3068\u306e\u533a\u5207\u308a\u304c\uff14\u306e\u500d\u6570\u306b\u306a\u308b\u3088\u3046\u30d1\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u30d1\u30c7\u30a3\u30f3\u30b0\u306b\u3088\u3063\u3066\u3001\u540c\u3058\u5185\u5bb9\u306e\u69cb\u9020\u4f53\u540c\u58eb\u3067\u3082\u7570\u306a\u308b\u5b9f\u4f53\u3067\u3042\u308b\u3068\u8aa4\u8a8d\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u69cb\u9020\u4f53\u306f\u30e1\u30f3\u30d0\u3054\u3068\u306e\u6bd4\u8f03\u3067\u5224\u5b9a\u3059\u308b\u65b9\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u69cb\u9020\u4f53\u3092\u914d\u5217\u3067\u6271\u3046\u306b\u306f\uff1f<\/h2>\n\n\n\n<p>\u4ed6\u306e\u30c7\u30fc\u30bf\u578b\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u69cb\u9020\u4f53\u3082\u914d\u5217\u306e\u8981\u7d20\u306b\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\ntypedef struct {\n    char *name;\n    int age;\n    char *gender;\n    char *blood;\n    char *job;\n} CHARACTER;\n\nCHARACTER init(char *name, int age, char *gender, char *blood, char *job) {\n\n    CHARACTER chara;\n\n    chara.name = name;\n    chara.age = age;\n    chara.gender = gender;\n    chara.blood = blood;\n    chara.job = job;\n\n    return chara;\n}\n\nint main(void) {\n\n    \/\/ CHARACTER\u578b\u3092\u683c\u7d0d\u3059\u308b\u914d\u5217\u3092\u4f5c\u6210\n    CHARACTER charaArr&#91;3];\n\n    \/\/ \u5404\u8981\u7d20\u306b\u5b9f\u4f53\u3092\u4ee3\u5165\n    charaArr&#91;0] = init(\"Alex\", 17, \"\u7537\", \"A\", \"\u5263\u58eb\");\n    charaArr&#91;1] = init(\"Bella\", 16, \"\u5973\", \"AB\", \"\u9b54\u6cd5\u4f7f\u3044\");\n    charaArr&#91;2] = init(\"Kate\", 30, \"\u4e0d\u660e\", \"O\", \"\u50e7\u4fb6\");\n\n    for (int i = 0; i &lt; 3; i++)\n    {\n        printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", charaArr&#91;i].name, charaArr&#91;i].age, charaArr&#91;i].gender, charaArr&#91;i].blood, charaArr&#91;i].job);\n    }\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u540d\u524d\uff1aAlex \u5e74\u9f62\uff1a17 \u6027\u5225\uff1a\u7537 \u8840\u6db2\u578b\uff1aA \u8077\u696d\uff1a\u5263\u58eb\n\u540d\u524d\uff1aBella \u5e74\u9f62\uff1a16 \u6027\u5225\uff1a\u5973 \u8840\u6db2\u578b\uff1aAB \u8077\u696d\uff1a\u9b54\u6cd5\u4f7f\u3044\n\u540d\u524d\uff1aKate \u5e74\u9f62\uff1a30 \u6027\u5225\uff1a\u4e0d\u660e \u8840\u6db2\u578b\uff1aO \u8077\u696d\uff1a\u50e7\u4fb6<\/code><\/pre>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">\u95a2\u6570\u306e\u5f15\u6570\u3068\u3057\u3066\u69cb\u9020\u4f53\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\uff1f<\/h2>\n\n\n\n<p>\u5b9f\u4f53\u306e\u30b3\u30d4\u30fc\u65b9\u6cd5\u306e\u969b\u306b\u3082\u5c11\u3057\u89e6\u308c\u307e\u3057\u305f\u304c\u3001\u95a2\u6570\u306e\u5f15\u6570\u306b\u69cb\u9020\u4f53\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5148\u307b\u3069\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u5b9f\u4f53\u3092\u305d\u306e\u307e\u307e\u6e21\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u5ea6\u306f\u30dd\u30a4\u30f3\u30bf\u3092\u5f15\u6570\u306b\u6e21\u3057\u3066\u51e6\u7406\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdio.h>\n\ntypedef struct\n{\n    char *name;\n    int age;\n    char *gender;\n    char *blood;\n    char *job;\n} CHARACTER;\n\nvoid changeJob(CHARACTER *chara, char *job)\n{\n    chara->job = job;\n}\n\nint main(void)\n{\n\n    CHARACTER alex = {\"Alex\", 17, \"\u7537\", \"A\", \"\u5263\u58eb\"};\n\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", alex.name, alex.age, alex.gender, alex.blood, alex.job);\n\n    changeJob(&amp;alex, \"\u9a0e\u58eb\");\n\n    printf(\"\u540d\u524d\uff1a%s \u5e74\u9f62\uff1a%d \u6027\u5225\uff1a%s \u8840\u6db2\u578b\uff1a%s \u8077\u696d\uff1a%s\\n\", alex.name, alex.age, alex.gender, alex.blood, alex.job);\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u540d\u524d\uff1aAlex \u5e74\u9f62\uff1a17 \u6027\u5225\uff1a\u7537 \u8840\u6db2\u578b\uff1aA \u8077\u696d\uff1a\u5263\u58eb\n\u540d\u524d\uff1aAlex \u5e74\u9f62\uff1a17 \u6027\u5225\uff1a\u7537 \u8840\u6db2\u578b\uff1aA \u8077\u696d\uff1a\u9a0e\u58eb<\/code><\/pre>\n\n\n\n<p>\u30dd\u30a4\u30f3\u30bf\u3092\u5f15\u6570\u306b\u6e21\u3057\u305f\u5834\u5408\u306f\u3001\u547c\u3073\u51fa\u3057\u5143\u306b\u3042\u308b\u5b9f\u4f53\u306e\u5024\u3092\u76f4\u63a5\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5225\u306e\u5909\u6570\u3068\u3057\u3066\u6271\u3044\u305f\u3044\u304b\u5426\u304b\u3067\u3001\u5f15\u6570\u306b\u6e21\u3059\u6642\u306e\u578b\u3092\u4f7f\u3044\u5206\u3051\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__8\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f\u4eca\u56de\u306f\u3001\u69cb\u9020\u4f53\u306b\u3064\u3044\u3066\u89e3\u8aac\u3092\u3057\u3066\u304d\u307e\u3057\u305f\u3002<br>\u4e2d\u306b\u306f\u5c11\u3057\u8907\u96d1\u306a\u5185\u5bb9\u3082\u3042\u3063\u305f\u305f\u3081\u3001\u4e00\u5ea6\u3067\u5168\u3066\u3092\u7406\u89e3\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u65b9\u3082\u3044\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>\u305c\u3072\u3001\u4f55\u5ea6\u3082\u8a18\u4e8b\u3092\u8aad\u307f\u8fd4\u3057\u3066\u3001\u69cb\u9020\u4f53\u306b\u3064\u3044\u3066\u306e\u77e5\u8b58\u3092\u6df1\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<h2 id=\"outline__9\" class=\"wp-block-heading\">C\u8a00\u8a9e\u306e\u52c9\u5f37\u65b9\u6cd5\u306f\uff1f<\/h2>\n\n\n<p>\u66f8\u7c4d\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u6628\u4eca\u3067\u306f\u3001YouTube\u306a\u3069\u306e\u52d5\u753b\u30b5\u30a4\u30c8\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\u3082\u5145\u5b9f\u3057\u3066\u3044\u3066\u591a\u304f\u306e\u60c5\u5831\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3059\u308b\u306b\u306f\u3001\u77e5\u8b58\u3092\u3064\u3051\u306a\u304c\u3089\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u306a\u3069\u3001\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u72ec\u5b66\u306e\u5834\u5408\u306f\u3001\u6709\u8b58\u8005\u306b\u8cea\u554f\u304c\u3067\u304d\u305f\u308a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3082\u3089\u3048\u308b\u3088\u3046\u306a\u74b0\u5883\u304c\u3042\u308b\u3068\u3001\u7406\u89e3\u5ea6\u304c\u6df1\u307e\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305f\u3060\u3001C\u8a00\u8a9e\u306b\u9650\u3089\u305a\u3001IT\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u969b\u3001\u3069\u3046\u3057\u3066\u3082\u8ab2\u984c\u306b\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u7279\u306b\u72ec\u5b66\u3060\u3068\u3001\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u3092\u30d7\u30ed\u306b\u8cea\u554f\u3067\u304d\u308b\u6a5f\u4f1a\u3092\u78ba\u4fdd\u3057\u306b\u304f\u304f\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7d9a\u304d\u306b\u304f\u3044\u3068\u3044\u3046\u5074\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u72ec\u5b66\u3067\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u81ea\u4fe1\u304c\u306a\u3044\u4eba\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\u3002\u8cbb\u7528\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3084\u3059\u3044\u3067\u3059\u3002\u3057\u3063\u304b\u308a\u3068\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3057\u3066\u5b9f\u8df5\u306b\u6d3b\u304b\u3057\u305f\u3044\u3068\u3044\u3046\u4eba\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><span class=\"markerYellow\"><strong>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u306a\u3089\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u304c\u304a\u3059\u3059\u3081\uff01<\/strong><\/span><\/p>\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/yuudou.png\" class=\"post-img\">\n\n\n<p>IT\u30b9\u30ad\u30eb\u9700\u8981\u306e\u9ad8\u307e\u308a\u3068\u3068\u3082\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3082\u5897\u3048\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3069\u306e\u30b9\u30af\u30fc\u30eb\u306b\u901a\u3046\u3079\u304d\u304b\u8ff7\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3093\u306a\u65b9\u306b\u306f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff01\u3053\u308c\u307e\u3067\u591a\u304f\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u80b2\u6210\u30fb\u8f29\u51fa\u3057\u3066\u304d\u305f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3092\u958b\u8b1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"bgBox\">\n<p><strong>\uff1c\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306e\u7279\u5fb4\uff1e<\/strong><br \/><strong>\u30fb\u305f\u3057\u304b\u306a\u80b2\u6210\u5b9f\u7e3e\u3068\u89aa\u8eab\u306a\u6559\u80b2\u3000\uff5e\u30bb\u30ab\u30f3\u30c9\u30ad\u30e3\u30ea\u30a2\u3092\u5168\u529b\u652f\u63f4\uff5e<\/strong><br \/><strong>\u30fb\u8b1b\u5e2b\u304c\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u3000\uff5e\u201c\u672c\u5f53\u201d\u306e\u958b\u767a\u30ce\u30a6\u30cf\u30a6\u3092\u76f4\u306b\u5b66\u3079\u308b\uff5e<\/strong><br \/><strong>\u30fb\u5c02\u5c5e\u8b1b\u5e2b\u304c\u5b66\u7fd2\u3092\u5fb9\u5e95\u30b5\u30dd\u30fc\u30c8\u3000\uff5e\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3092\u5fb9\u5e95\u89e3\u6c7a\uff5e<\/strong><br \/><strong>\u30fb\u5b9f\u52d9\u30d9\u30fc\u30b9\u3067\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3000\uff5e\u5b9f\u8df5\u7684\u306a\u51dd\u7e2e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\uff5e<\/strong><\/p>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3064\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u3068\u3057\u3066\u6700\u9069\u3067\u3059\u3002<br \/>\u8a71\u3092\u805e\u304d\u305f\u3044\u30fb\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f<a href=\"https:\/\/techmania.jp\/lp\/2\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"C\u8a00\u8a9e\u3067\u306f\u69cb\u9020\u4f53\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u95a2\u9023\u3059\u308b\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30921\u3064\u306b\u307e\u3068\u3081\u3066\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u69d8\u3005\u306a\u500b\u4eba\u60c5\u5831\u3092\u30e6\u30fc\u30b6\u30fc\u3054\u3068\u306b\u5206\u3051\u3066\u51e6\u7406\u3059\u308b\u5834\u5408\u3084\u30012\u6b21\u5143\u30fb3\u6b21\u5143\u7a7a\u9593\u306e\u5ea7\u6a19\u3092\u8868\u73fe\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u30c7\u30fc\u30bf\u306e\u96c6\u5408\u3092\u6271\u3046\u969b\u306b\u69cb\u9020\u4f53\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u4e00\u3064\u4e00\u3064\u306e\u30c7\u30fc\u30bf\u3054\u3068\u306b\u5909\u6570\u3092\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u52b9\u7387\u7684\u304b\u3064\u5206\u304b\u308a\u3084\u3059\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u69cb\u9020\u4f53\u306b\u3064 [&hellip;]","protected":false},"author":11,"featured_media":8745,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/clang_struct.webp","fifu_image_alt":"\u3010C\u8a00\u8a9e\u5165\u9580\u3011\u69cb\u9020\u4f53\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\uff08\u5ba3\u8a00\u30fb\u521d\u671f\u5316\u30fb\u30dd\u30a4\u30f3\u30bf\uff09","footnotes":""},"categories":[15],"tags":[],"class_list":["post-8735","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/8735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=8735"}],"version-history":[{"count":9,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/8735\/revisions"}],"predecessor-version":[{"id":8747,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/8735\/revisions\/8747"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/8745"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=8735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=8735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=8735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}