{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20140829%2Fstruct\" title=\" C++\u3067\u5f15\u6570\u306e\u3068\u3053\u308d\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u6e21\u3059 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://iww.hateblo.jp/entry/20140829/struct","blog_url":"https://iww.hateblo.jp/","categories":["C++"],"type":"rich","width":"100%","provider_url":"https://hatena.blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/iww/","author_name":"iww","published":"2014-08-29 00:00:00","height":"190","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","title":" C++\u3067\u5f15\u6570\u306e\u3068\u3053\u308d\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u6e21\u3059","image_url":null,"description":"\u4e00\u6642\u7684\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u6e21\u3059\u3068\u304d\u3001C++\u306a\u3089\u3044\u3061\u3044\u3061new\u3068\u304b\u305b\u305a\u306b\u5f15\u6570\u306e\u4e2d\u3067\u4f7f\u3044\u6368\u3066\u3067\u304d\u308b\u3002 #include <stdio.h> class Pos_t { public: int x; int y; }; void show(const Pos_t &A) { printf(\"X=%d\\n\",A.x); printf(\"Y=%d\\n\",A.y); } int main() { printf(\"\u521d\u671f\u5024\u304c\u7121\u3044\u3068\u3001\u4e2d\u8eab\u306f\u30b4\u30df\u306b\u306a\u308b\\n\"); Pos_t A; A.x = 123; show( A ); printf(\"\\n\u521d\u671f\u5024\u304c\u3042\u308b\u3068\u3001\u672a\u521d\u671f\u5316\u90e8\u306f\u30bc\u30ed\u306b\u306a\u308b\\n\"); Pos_t B={\u2026","provider_name":"Hatena Blog"}