{"type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/winebarrel/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080415%2Fp4\" title=\" C++\u306e\u95a2\u6570\u3092C\u304b\u3089\u547c\u3073\u51fa\u3059 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"winebarrel","categories":["C\u8a00\u8a9e"],"blog_url":"https://so-wh.at/","description":"zoo.cpp #include <iostream> extern \"C\" { int add(int a, int b); } using namespace std; int add(int a, int b) { cout << \"add()\" << endl; return a + b; } bar.c #include <stdio.h> int add(int a, int b); int main() { printf(\"%d\\n\", add(1, 2)); } \u30d3\u30eb\u30c9/\u5b9f\u884c ~$ gcc bar.c zoo.cpp -lstdc++ -o bar ~$ ./bar add()\u2026","height":"190","image_url":null,"title":" C++\u306e\u95a2\u6570\u3092C\u304b\u3089\u547c\u3073\u51fa\u3059","version":"1.0","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"so what","url":"https://so-wh.at/entry/20080415/p4","published":"2008-04-15 00:00:01"}