{"id":4130,"date":"2024-03-14T12:18:57","date_gmt":"2024-03-14T03:18:57","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/"},"modified":"2025-08-02T19:07:03","modified_gmt":"2025-08-02T10:07:03","slug":"c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","title":{"rendered":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f"},"content":{"rendered":"<p>C++\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u8907\u5408\u5316\u3092\u884c\u3046\u5834\u5408\u3001\u901a\u5e38\u306f\u5bfe\u79f0\u6697\u53f7\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u6700\u3082\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u306e\u306fAES\uff08Advanced Encryption Standard\uff09\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3059\u3002\u4ee5\u4e0b\u306fAES\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u6697\u53f7\u5316\u304a\u3088\u3073\u8907\u5408\u5316\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3059\u7c21\u5358\u306aC++\u306e\u30b3\u30fc\u30c9\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;iostream&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;fstream&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;openssl\/aes.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;openssl\/rand.h&gt;<\/span><\/span>\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-type\">void<\/span> <span class=\"hljs-title\">encryptFile<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">const<\/span> std::string&amp; inputFile, <span class=\"hljs-type\">const<\/span> std::string&amp; outputFile, <span class=\"hljs-type\">const<\/span> std::string&amp; key)<\/span> <\/span>{\r\n    AES_KEY aesKey;\r\n    <span class=\"hljs-built_in\">AES_set_encrypt_key<\/span>((<span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span>*)key.<span class=\"hljs-built_in\">c_str<\/span>(), <span class=\"hljs-number\">128<\/span>, &amp;aesKey);\r\n\r\n    <span class=\"hljs-function\">std::ifstream <span class=\"hljs-title\">in<\/span><span class=\"hljs-params\">(inputFile, std::ios::binary)<\/span><\/span>;\r\n    <span class=\"hljs-function\">std::ofstream <span class=\"hljs-title\">out<\/span><span class=\"hljs-params\">(outputFile, std::ios::binary)<\/span><\/span>;\r\n\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> iv[AES_BLOCK_SIZE];\r\n    <span class=\"hljs-built_in\">RAND_bytes<\/span>(iv, AES_BLOCK_SIZE);\r\n    out.<span class=\"hljs-built_in\">write<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">const<\/span> <span class=\"hljs-type\">char<\/span>*&gt;(iv), AES_BLOCK_SIZE);\r\n\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> inBuffer[AES_BLOCK_SIZE];\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> outBuffer[AES_BLOCK_SIZE];\r\n    <span class=\"hljs-type\">int<\/span> numBytesRead = <span class=\"hljs-number\">0<\/span>;\r\n    <span class=\"hljs-keyword\">while<\/span> (in.<span class=\"hljs-built_in\">read<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">char<\/span>*&gt;(inBuffer), AES_BLOCK_SIZE)) {\r\n        <span class=\"hljs-built_in\">AES_cbc_encrypt<\/span>(inBuffer, outBuffer, AES_BLOCK_SIZE, &amp;aesKey, iv, AES_ENCRYPT);\r\n        out.<span class=\"hljs-built_in\">write<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">char<\/span>*&gt;(outBuffer), AES_BLOCK_SIZE);\r\n        numBytesRead += AES_BLOCK_SIZE;\r\n    }\r\n\r\n    in.<span class=\"hljs-built_in\">close<\/span>();\r\n    out.<span class=\"hljs-built_in\">close<\/span>();\r\n}\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-type\">void<\/span> <span class=\"hljs-title\">decryptFile<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">const<\/span> std::string&amp; inputFile, <span class=\"hljs-type\">const<\/span> std::string&amp; outputFile, <span class=\"hljs-type\">const<\/span> std::string&amp; key)<\/span> <\/span>{\r\n    AES_KEY aesKey;\r\n    <span class=\"hljs-built_in\">AES_set_decrypt_key<\/span>((<span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span>*)key.<span class=\"hljs-built_in\">c_str<\/span>(), <span class=\"hljs-number\">128<\/span>, &amp;aesKey);\r\n\r\n    <span class=\"hljs-function\">std::ifstream <span class=\"hljs-title\">in<\/span><span class=\"hljs-params\">(inputFile, std::ios::binary)<\/span><\/span>;\r\n    <span class=\"hljs-function\">std::ofstream <span class=\"hljs-title\">out<\/span><span class=\"hljs-params\">(outputFile, std::ios::binary)<\/span><\/span>;\r\n\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> iv[AES_BLOCK_SIZE];\r\n    in.<span class=\"hljs-built_in\">read<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">char<\/span>*&gt;(iv), AES_BLOCK_SIZE);\r\n\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> inBuffer[AES_BLOCK_SIZE];\r\n    <span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">char<\/span> outBuffer[AES_BLOCK_SIZE];\r\n    <span class=\"hljs-type\">int<\/span> numBytesRead = <span class=\"hljs-number\">0<\/span>;\r\n    <span class=\"hljs-keyword\">while<\/span> (in.<span class=\"hljs-built_in\">read<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">char<\/span>*&gt;(inBuffer), AES_BLOCK_SIZE)) {\r\n        <span class=\"hljs-built_in\">AES_cbc_encrypt<\/span>(inBuffer, outBuffer, AES_BLOCK_SIZE, &amp;aesKey, iv, AES_DECRYPT);\r\n        out.<span class=\"hljs-built_in\">write<\/span>(<span class=\"hljs-built_in\">reinterpret_cast<\/span>&lt;<span class=\"hljs-type\">char<\/span>*&gt;(outBuffer), AES_BLOCK_SIZE);\r\n        numBytesRead += AES_BLOCK_SIZE;\r\n    }\r\n\r\n    in.<span class=\"hljs-built_in\">close<\/span>();\r\n    out.<span class=\"hljs-built_in\">close<\/span>();\r\n}\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-type\">int<\/span> <span class=\"hljs-title\">main<\/span><span class=\"hljs-params\">()<\/span> <\/span>{\r\n    std::string inputFile = <span class=\"hljs-string\">\"plaintext.txt\"<\/span>;\r\n    std::string encryptedFile = <span class=\"hljs-string\">\"encrypted.bin\"<\/span>;\r\n    std::string decryptedFile = <span class=\"hljs-string\">\"decrypted.txt\"<\/span>;\r\n    std::string key = <span class=\"hljs-string\">\"mysecretkey\"<\/span>;\r\n\r\n    <span class=\"hljs-built_in\">encryptFile<\/span>(inputFile, encryptedFile, key);\r\n    <span class=\"hljs-built_in\">decryptFile<\/span>(encryptedFile, decryptedFile, key);\r\n\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-number\">0<\/span>;\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001encryptFile\u95a2\u6570\u304c\u30d5\u30a1\u30a4\u30eb\u3092\u6697\u53f7\u5316\u3057\u3001decryptFile\u95a2\u6570\u304c\u30d5\u30a1\u30a4\u30eb\u3092\u5fa9\u53f7\u5316\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 \u6ce8\u610f\u3059\u3079\u304d\u70b9\u306f\u3001OpenSSL\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u5bfe\u5fdc\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u30ea\u30f3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3067\u3059\u3002\u307e\u305f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u904e\u7a0b\u3067\u306f\u3001\u540c\u3058\u30ad\u30fc\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u8907\u5408\u5316\u3092\u884c\u3046\u5834\u5408\u3001\u901a\u5e38\u306f\u5bfe\u79f0\u6697\u53f7\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u6700\u3082\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u306e\u306fAES\uff08Advanced Encryption Standard\uff09\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u3059\u3002\u4ee5\u4e0b\u306fAES\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-4130","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\" \/>\n<meta property=\"og:description\" content=\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T03:18:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-02T10:07:03+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\",\"name\":\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-14T03:18:57+00:00\",\"dateModified\":\"2025-08-02T10:07:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud","description":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/c\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/","og_locale":"ja_JP","og_type":"article","og_title":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f","og_description":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/c\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-14T03:18:57+00:00","article_modified_time":"2025-08-02T10:07:03+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/","name":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-14T03:18:57+00:00","dateModified":"2025-08-02T10:07:03+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"C++\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u6697\u53f7\u5316\u3068\u5fa9\u53f7\u5316\u306e\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e3%81%a7%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e6%9a%97%e5%8f%b7%e5%8c%96%e3%81%a8%e5%be%a9%e5%8f%b7%e5%8c%96%e3%81%ae%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/4130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=4130"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/4130\/revisions"}],"predecessor-version":[{"id":71693,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/4130\/revisions\/71693"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=4130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=4130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=4130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}