{"id":34903,"date":"2025-02-04T13:00:04","date_gmt":"2025-02-04T13:00:04","guid":{"rendered":"https:\/\/toposuranos.com\/material\/?p=34903"},"modified":"2025-09-21T10:15:59","modified_gmt":"2025-09-21T10:15:59","slug":"c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0","status":"publish","type":"post","link":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/","title":{"rendered":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570"},"content":{"rendered":"<p><head><title>C++ \u306b\u304a\u3051\u308b\u95a2\u6570<\/title><\/p>\n<style>\n        p, ul, ol {\n            text-align: justify;\n        }\n        h1, h2 {\n            text-align: center;\n        }<\/p>\n<p>table {\n        width: 100%;\n        border-collapse: collapse;\n        margin: 20px 0;\n        font-size: 18px;\n        text-align: left;\n    }\n    th, td {\n        padding: 12px;\n        border: 1px solid #ddd;\n    }\n    th {\n        background-color: #007BFF;\n        color: white;\n        text-align: center;\n    }\n    tr:nth-child(even) {\n        background-color: #f2f2f2;\n    }\n    tr:hover {\n        background-color: #ddd;\n    }\n    <\/style>\n<p><\/head><body><\/p>\n<header>\n<h1>C++ \u306b\u304a\u3051\u308b\u95a2\u6570\uff1a\u660e\u78ba\u3067\u518d\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u91cd\u8981\u306a\u8981\u7d20<\/h1>\n<p><em>\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5927\u304d\u304f\u306a\u308b\u306b\u3064\u308c\u3066\u3001\u305d\u306e\u30b3\u30fc\u30c9\u304c\u7406\u89e3\u3057\u306b\u304f\u304f\u3001\u4fdd\u5b88\u3057\u306b\u304f\u304f\u306a\u308b\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\u3002\u3082\u3057\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u304c\u8ff7\u8def\u306e\u3088\u3046\u306b\u8907\u96d1\u306b\u898b\u3048\u308b\u3068\u611f\u3058\u305f\u3053\u3068\u304c\u3042\u308b\u306a\u3089\u3001\u305d\u308c\u306f C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u5341\u5206\u306b\u6d3b\u7528\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3059\u3002\u95a2\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7ba1\u7406\u3057\u3084\u3059\u3044\u90e8\u5206\u306b\u5206\u5272\u3059\u308b\u69cb\u6210\u8981\u7d20\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u8aad\u307f\u3084\u3059\u3055\u3001\u4fdd\u5b88\u6027\u3001\u6700\u9069\u5316\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002\u672c\u8b1b\u7fa9\u3067\u306f\u3001\u95a2\u6570\u3092\u52b9\u679c\u7684\u306b\u5229\u7528\u3057\u3066\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u5316\u3092\u6539\u5584\u3057\u3001\u3088\u308a\u4f53\u7cfb\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u3001C++ \u306b\u304a\u3051\u308b\u958b\u767a\u3092\u3088\u308a\u5c02\u9580\u7684\u304b\u3064\u52b9\u7387\u7684\u306b\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002<\/em><\/p>\n<\/header>\n<section>\n<h2>\u5b66\u7fd2\u76ee\u6a19<\/h2>\n<p style=\"text-align:center;\">\u3053\u306e\u8b1b\u7fa9\u3092\u7d42\u3048\u308b\u3068\u3001\u6b21\u306e\u3053\u3068\u304c\u5b66\u3079\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u7406\u89e3\u3059\u308b<\/strong>\uff1a\u95a2\u6570\u306e\u76ee\u7684\u3068\u3001\u305d\u308c\u304c C++ \u306b\u304a\u3044\u3066\u4e0d\u53ef\u6b20\u3067\u3042\u308b\u7406\u7531\u3002<\/li>\n<li><strong>\u4f5c\u6210\u3059\u308b<\/strong>\uff1a\u6b63\u3057\u304f\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3001\u69cb\u9020\u5316\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u73fe\u3059\u308b\u3002<\/li>\n<li><strong>\u547c\u3073\u51fa\u3059<\/strong>\uff1a\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3001\u305d\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u7406\u89e3\u3059\u308b\u3002<\/li>\n<li><strong>\u533a\u5225\u3059\u308b<\/strong>\uff1a\u5024\u3092\u8fd4\u3059\u95a2\u6570\u3068\u3001\u5358\u306b\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u95a2\u6570\u3092\u533a\u5225\u3059\u308b\u3002<\/li>\n<li><strong>\u6bd4\u8f03\u3059\u308b<\/strong>\uff1a\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3092\u6bd4\u8f03\u3057\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u3082\u306e\u3092\u9078\u3076\u3002<\/li>\n<\/ul>\n<\/section>\n<p style=\"text-align:center;\">\n<strong><u>\u76ee\u6b21<\/u><\/strong><br \/>\n<a href=\"#1\">\u95a2\u6570\u306e\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9<\/a><br \/>\n<a href=\"#2\">\u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u5ba3\u8a00 \u2013 \u547c\u3073\u51fa\u3057 \u2013 \u5b9a\u7fa9<\/a><br \/>\n<a href=\"#3\">\u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u547c\u3073\u51fa\u3057\u524d\u306b\u5ba3\u8a00\u3068\u5b9f\u88c5\u3092\u884c\u3046<\/a><br \/>\n<a href=\"#4\">\u623b\u308a\u5024\u306e\u4f1d\u64ad<\/a><br \/>\n<a href=\"#5\">\u518d\u5e30\uff1a\u81ea\u5206\u81ea\u8eab\u3092\u547c\u3073\u51fa\u3059\u95a2\u6570<\/a><br \/>\n<a href=\"#6\">\u95a2\u6570\u306b\u304a\u3051\u308b\u8907\u6570\u306e\u623b\u308a\u5024<\/a><br \/>\n<a href=\"#7\">\u95a2\u6570\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9 (overloading)<\/a><br \/>\n<a href=\"#8\">C++ \u306b\u304a\u3051\u308b\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570<\/a><br \/>\n<a href=\"#9\">C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u306b\u95a2\u3059\u308b\u6700\u7d42\u7684\u306a\u8003\u5bdf<\/a><\/p>\n<p>\n<center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/1SeIwMqpXgM?si=vYxfnmqmkLyXeaY9\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"1\"><\/a><\/p>\n<h2>\u95a2\u6570\u306e\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9<\/h2>\n<p>\nC++ \u306b\u304a\u3044\u3066\u3001\u95a2\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u7684\u304b\u3064\u7d44\u7e54\u7684\u306b\u69cb\u7bc9\u3067\u304d\u308b\u518d\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002\u5404\u95a2\u6570\u306f\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u3092\u30ab\u30d7\u30bb\u30eb\u5316\u3057\u3066\u304a\u308a\u3001\u30b3\u30fc\u30c9\u306e\u660e\u78ba\u3055\u3068\u4fdd\u5b88\u6027\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001<strong>\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9<\/strong> \u306e\u4e09\u3064\u306e\u57fa\u672c\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<p>\u3053\u308c\u3089\u4e09\u3064\u306e\u6982\u5ff5\u306f\u4e0d\u53ef\u6b20\u3067\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u304c\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u306b\u304a\u3044\u3066\u7279\u6709\u306e\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u8a73\u7d30\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol>\n<li><strong>\u95a2\u6570\u306e\u5ba3\u8a00<\/strong>\n<p>\u95a2\u6570\u3092\u30b3\u30fc\u30c9\u5185\u3067\u4f7f\u7528\u3059\u308b\u524d\u306b\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u305d\u306e\u5b58\u5728\u3092\u77e5\u3089\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f<strong>\u95a2\u6570\u306e\u5ba3\u8a00\u307e\u305f\u306f\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7<\/strong>\u306b\u3088\u3063\u3066\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u306e\u5ba3\u8a00\u306f\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u6b21\u306e\u4e09\u3064\u306e\u57fa\u672c\u4e8b\u9805\u3092\u4f1d\u3048\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u95a2\u6570\u304c\u8fd4\u3059\u30c7\u30fc\u30bf\u578b<\/strong>\uff08\u4f55\u3082\u8fd4\u3055\u306a\u3044\u5834\u5408\u306f void\uff09\u3002<\/li>\n<li><strong>\u95a2\u6570\u306e\u540d\u524d\u3002<\/strong><\/li>\n<li><strong>\u53d7\u3051\u53d6\u308b\u30d1\u30e9\u30e1\u30fc\u30bf<\/strong>\uff08\u3042\u308b\u5834\u5408\uff09\u3001\u304a\u3088\u3073\u305d\u308c\u3089\u306e\u578b\u3002<\/li>\n<\/ul>\n<p><\/p>\n<p>\u95a2\u6570\u5ba3\u8a00\u306e\u4e00\u822c\u7684\u306a\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">tipo_de_retorno nombre_de_funcion (lista_de_parametros);\r\n<\/pre>\n<p>\u95a2\u6570\u306e\u5ba3\u8a00\u306f\u901a\u5e38\u3001<code>main()<\/code> \u306e\u524d\u3001\u307e\u305f\u306f\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u306f\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb .h \u306b\u7f6e\u304b\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li><strong>\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057<\/strong>\n<p>\u95a2\u6570\u3092\u5ba3\u8a00\u3057\u305f\u5f8c\u3001\u305d\u308c\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u30b3\u30fc\u30c9\u5185\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3068\u304d\uff1a<\/p>\n<ul>\n<li>\u305d\u306e\u5b9a\u7fa9\u306b\u542b\u307e\u308c\u308b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570\u304c\u5024\u3092\u8fd4\u3059\u5834\u5408\u3001\u305d\u306e\u5024\u306f\u5909\u6570\u306b\u683c\u7d0d\u3059\u308b\u304b\u3001\u5f0f\u306e\u4e2d\u3067\u76f4\u63a5\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570\u304c <code>void<\/code> \u578b\u306e\u5834\u5408\u3001\u5358\u306b\u547d\u4ee4\u3092\u5b9f\u884c\u3057\u3001\u4f55\u3082\u8fd4\u3057\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<p><\/p>\n<p>\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u969b\u306e\u69cb\u6587\u306f\u3001\u305d\u306e\u540d\u524d\u3092\u66f8\u304d\u3001\u5fc5\u8981\u306a\u3089\u3070\u5f15\u6570\u3092\u62ec\u5f27\u5185\u306b\u6e21\u3059\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\nnombre_de_funcion(argumentos);\r\n<\/pre>\n<\/li>\n<li><strong>\u95a2\u6570\u306e\u5b9a\u7fa9<\/strong>\n<p>\u6700\u5f8c\u306b\u3001\u95a2\u6570\u306e\u5b9a\u7fa9\u306f\u305d\u306e\u52d5\u4f5c\u3092\u5b9f\u88c5\u3059\u308b\u90e8\u5206\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u3068\u304d\u306b\u5b9f\u884c\u3055\u308c\u308b\u547d\u4ee4\u304c\u6307\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u5b9a\u7fa9\u306e\u4e00\u822c\u7684\u306a\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\ntipo_de_retorno nombre_de_funcion (lista_de_parametros) {\r\n    \/\/ \u95a2\u6570\u672c\u4f53: \u5b9f\u884c\u3055\u308c\u308b\u547d\u4ee4\r\n    return valor; \/\/ \uff08\u95a2\u6570\u304c\u5024\u3092\u8fd4\u3059\u5834\u5408\uff09\r\n}\r\n<\/pre>\n<p>\u5404\u95a2\u6570\u5b9a\u7fa9\u306f\u6b21\u306e\u30eb\u30fc\u30eb\u306b\u5f93\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\uff08\u4e8b\u524d\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u5834\u5408\uff09\u5ba3\u8a00\u3068\u4e00\u81f4\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/li>\n<li>\u95a2\u6570\u304c\u5024\u3092\u8fd4\u3059\u5834\u5408\uff08\u4f8b\uff1a<code>int<\/code>\uff09\u3001\u8fd4\u3059\u5024\u3092\u4f34\u3046 <code>return<\/code> \u6587\u3092\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570\u304c\u4f55\u3082\u8fd4\u3055\u306a\u3044\u5834\u5408\uff08<code>void<\/code>\uff09\u3001\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067 <code>return<\/code> \u306f\u4e0d\u8981\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>\u5b9f\u884c\u306e\u6d41\u308c<\/h3>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001\u95a2\u6570\u306f <code>main()<\/code> \u306b\u73fe\u308c\u308b\u9806\u5e8f\u3067\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u5b9f\u884c\u306e\u6d41\u308c\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u95a2\u6570\u306e\u5ba3\u8a00\u3092\u8a8d\u8b58\u3059\u308b\u3002<\/li>\n<li><code>main()<\/code> \u5185\u3067\u95a2\u6570\u547c\u3073\u51fa\u3057\u306b\u5230\u9054\u3059\u308b\u3068\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5236\u5fa1\u304c\u305d\u306e\u95a2\u6570\u306e\u5b9a\u7fa9\u306b\u79fb\u308b\u3002<\/li>\n<li>\u95a2\u6570\u304c\u305d\u306e\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u3002<\/li>\n<li>\u95a2\u6570\u306b\u623b\u308a\u5024\u304c\u3042\u308b\u5834\u5408\u3001\u305d\u308c\u304c\u547c\u3073\u51fa\u3057\u5143\u306e\u884c\u306b\u8fd4\u3055\u308c\u308b\u3002<\/li>\n<li>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6d41\u308c\u304c <code>main()<\/code> \u307e\u305f\u306f\u547c\u3073\u51fa\u3057\u3092\u884c\u3063\u305f\u95a2\u6570\u306b\u623b\u308b\u3002<\/li>\n<\/ol>\n<h3>\u4e8b\u524d\u5ba3\u8a00\u306e\u91cd\u8981\u6027<\/h3>\n<p>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u524d\u306b\u5ba3\u8a00\u3059\u308b\u3053\u3068\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u3053\u308c\u306f\u3001C++ \u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u30b3\u30fc\u30c9\u3092\u4e0a\u304b\u3089\u4e0b\u3078\u3068\u51e6\u7406\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u95a2\u6570\u304c\u5b9a\u7fa9\u307e\u305f\u306f\u5ba3\u8a00\u3055\u308c\u308b\u524d\u306b\u547c\u3073\u51fa\u305d\u3046\u3068\u3059\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u51e6\u3059\u308b\u4e3b\u306a\u65b9\u6cd5\u306f\u4e8c\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u95a2\u6570\u3092 <code>main()<\/code> \u306e\u524d\u306b\u5ba3\u8a00\u3057\u3001\u305d\u306e\u5f8c\u306b\u5b9a\u7fa9\u3059\u308b\uff08\u3053\u308c\u307e\u3067\u306b\u898b\u305f\u65b9\u6cd5\uff09\u3002<\/li>\n<li><code>main()<\/code> \u306e\u524d\u306b\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3001\u5ba3\u8a00\u3092\u4e0d\u8981\u306b\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u3069\u3061\u3089\u306e\u65b9\u6cd5\u3082\u6709\u52b9\u3067\u3059\u304c\u3001\u524d\u8005\u306f\u95a2\u6570\u304c\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u304b\u308c\u3066\u3044\u308b\u5927\u898f\u6a21\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u7279\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<\/section>\n<section><a name=\"2\"><\/a><\/p>\n<h2>\u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9<\/h2>\n<p>C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u6700\u3082\u3088\u304f\u7528\u3044\u3089\u308c\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u4e00\u3064\u304c\u3001<strong>\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9<\/strong> \u3067\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306b\u5f93\u3046\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u3092\u4e09\u3064\u306e\u57fa\u672c\u7684\u306a\u6bb5\u968e\u306b\u6574\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u5ba3\u8a00:<\/strong> \u4f7f\u7528\u524d\u306b\u95a2\u6570\u306e\u5b58\u5728\u3092\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u77e5\u3089\u305b\u3001\u305d\u306e\u540d\u524d\u3001\u623b\u308a\u5024\u306e\u578b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u3042\u308b\u5834\u5408\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u547c\u3073\u51fa\u3057:<\/strong> \u95a2\u6570\u306f\u30e1\u30a4\u30f3\u30b3\u30fc\u30c9\uff08\u591a\u304f\u306e\u5834\u5408 <code>main()<\/code>\uff09\u5185\u3067\u547c\u3073\u51fa\u3055\u308c\u3001\u305d\u306e\u5185\u5bb9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u5b9a\u7fa9:<\/strong> \u95a2\u6570\u306e\u5b9f\u88c5\u3092\u8a73\u7d30\u306b\u793a\u3057\u3001\u547c\u3073\u51fa\u3055\u308c\u305f\u3068\u304d\u306b\u3069\u306e\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u3053\u306e\u69cb\u9020\u306b\u3088\u308a\u30b3\u30fc\u30c9\u306e\u6574\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u3001\u4fdd\u5b88\u6027\u3068\u62e1\u5f35\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u9069\u7528\u3057\u305f\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u4f8b: \u95a2\u6570 <code>consoladice()<\/code><\/h3>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001<strong>\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9<\/strong> \u306e\u9806\u5e8f\u306b\u5f93\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n\r\n\/\/ \u307e\u305a\u95a2\u6570\u3092\u5ba3\u8a00\r\nvoid consoladice();\r\n\r\nint main() {\r\n    \/\/ \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\r\n    consoladice();\r\n    return 0;\r\n}\r\n\r\n\/\/ \u5148\u306b\u5ba3\u8a00\u3057\u305f\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3001\u305d\u306e\u5185\u90e8\u306e\u52d5\u4f5c\u3092\u8a18\u8ff0\r\nvoid consoladice() {\r\n    cout &lt;&lt; &quot;Esto es una simple cadena de caracteres o literales.&quot; &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Ahora te muestro el numero cinco. Aqui esta: &quot; &lt;&lt; 5 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Veamos que resultado nos da si hacemos 10\/5. El resultado es: &quot; &lt;&lt; 10\/5 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Una forma tipica de aproximar el numero Pi es haciendo 22\/7. El resultado es: &quot; &lt;&lt; 22\/7 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;En C++ no es lo mismo escribir 22\/7 que 22.0\/7, el trato es diferente.&quot; &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Con este simple cambio podemos ver que 22.0\/7 es igual a &quot; &lt;&lt; 22.0\/7 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;No te parece esto una mejor aproximacion?&quot; &lt;&lt; endl;\r\n}\r\n<\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u671f\u5f85\u3055\u308c\u308b\u7d50\u679c\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p><code>Esto es una simple cadena de caracteres o literales.<br \/>\nAhora te muestro el numero cinco. Aqui esta: 5<br \/>\nVeamos que resultado nos da si hacemos 10\/5. El resultado es: 2<br \/>\nUna forma tipica de aproximar el numero Pi es haciendo 22\/7. El resultado es: 3<br \/>\nEn C++ no es lo mismo escribir 22\/7 que 22.0\/7, el trato es diferente.<br \/>\nCon este simple cambio podemos ver que 22.0\/7 es igual a 3.14286<br \/>\nNo te parece esto una mejor aproximacion?<\/code><\/p>\n<p><strong>\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9<\/strong> \u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u3088\u308a\u3088\u304f\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u3001\u30b3\u30fc\u30c9\u306e\u4e09\u3064\u306e\u91cd\u8981\u306a\u90e8\u5206\u306b\u6ce8\u76ee\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol>\n<li><strong>5\u884c\u76ee: \u95a2\u6570\u306e\u5ba3\u8a00<\/strong>\n<ul>\n<li><code>void consoladice();<\/code> \u306f\u3001\u30b3\u30fc\u30c9\u5185\u306e\u3069\u3053\u304b\u306b <code>consoladice()<\/code> \u3068\u3044\u3046\u95a2\u6570\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u3092\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u4f1d\u3048\u307e\u3059\u3002<\/li>\n<li>\u623b\u308a\u5024\u306e\u578b\u304c <code>void<\/code> \u3068\u6307\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u308c\u306f\u5024\u3092\u8fd4\u3055\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li>\u307e\u3060 <code>consoladice()<\/code> \u306e\u5b9f\u88c5\u306f\u77e5\u3089\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u3053\u306e\u5ba3\u8a00\u306b\u3088\u3063\u3066\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u5f8c\u3067\u4f7f\u7528\u3055\u308c\u308b\u3068\u304d\u306b\u8a8d\u8b58\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>9\u884c\u76ee: \u95a2\u6570\u306e\u547c\u3073\u51fa\u3057<\/strong>\n<ul>\n<li><code>main()<\/code> \u95a2\u6570\u5185\u3067 <code>consoladice();<\/code> \u3068\u3044\u3046\u884c\u304c\u95a2\u6570\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n<li>\u3053\u306e\u6642\u70b9\u3067\u3001\u5ba3\u8a00\u306b\u3088\u3063\u3066 <code>consoladice()<\/code> \u306e\u5b58\u5728\u306f\u3059\u3067\u306b\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u8a8d\u8b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u3068\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5236\u5fa1\u306f\u305d\u306e\u5b9a\u7fa9\u306b\u79fb\u308a\u3001\u5185\u5bb9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>14\u884c\u76ee\u304b\u308922\u884c\u76ee: \u95a2\u6570\u306e\u5b9a\u7fa9<\/strong>\n<ul>\n<li>\u3053\u3053\u3067\u306f <code>consoladice()<\/code> \u306e\u8a73\u7d30\u306a\u5b9f\u88c5\u304c\u793a\u3055\u308c\u3001\u305d\u306e\u547d\u4ee4\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>\u3053\u306e\u5834\u5408\u3001\u95a2\u6570\u306f\u8907\u6570\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3057\u3001\u6570\u5024\u3084\u6570\u5b66\u7684\u306a\u6f14\u7b97\u3092\u542b\u307f\u307e\u3059\u3002<\/li>\n<li>\u91cd\u8981\u306a\u70b9\u306e\u4e00\u3064\u306f\u3001<code>22\/7<\/code> \u3068 <code>22.0\/7<\/code> \u306e\u9055\u3044\u3067\u3059\u3002<code>22\/7<\/code> \u306e\u5834\u5408\u3001\u4e21\u65b9\u306e\u6570\u5024\u306f\u6574\u6570\u3067\u3042\u308a\u3001\u6574\u6570\u9664\u7b97\u306e\u7d50\u679c <code>3<\/code> \u306b\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001<code>22.0\/7<\/code> \u3068\u66f8\u304f\u3068\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u304c\u5f37\u5236\u3055\u308c\u3001\u7d50\u679c\u306f <code>3.14286<\/code> \u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/section>\n<section><a name=\"3\"><\/a><\/p>\n<h2>\u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u547c\u3073\u51fa\u3057\u524d\u306b\u5ba3\u8a00\u3068\u5b9f\u88c5\u3092\u884c\u3046<\/h2>\n<p>C++ \u3067\u306f\u3001<strong>\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9<\/strong> \u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u52a0\u3048\u3066\u3001\u3082\u3046\u4e00\u3064\u6709\u52b9\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u304c <strong>\u547c\u3073\u51fa\u3057\u524d\u306b\u5ba3\u8a00\u3068\u5b9f\u88c5\u3092\u884c\u3046<\/strong> \u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001\u5ba3\u8a00\u3068\u5b9a\u7fa9\u3092\u4e00\u5ea6\u306b\u307e\u3068\u3081\u3066\u884c\u3044\u3001\u95a2\u6570\u304c <code>main()<\/code> \u3067\u4f7f\u7528\u3055\u308c\u308b\u524d\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u306f\u3001\u95a2\u6570\u3092\u4e8b\u524d\u306b\u5ba3\u8a00\u3057\u3066 <code>main()<\/code> \u306e\u5f8c\u3067\u5b9a\u7fa9\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u540c\u3058\u5834\u6240\u3067\u5ba3\u8a00\u3068\u5b9a\u7fa9\u3092\u884c\u3044\u3001\u305d\u306e\u5f8c\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5225\u3005\u306b\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u5c0f\u898f\u6a21\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u30b3\u30fc\u30c9\u304c\u3088\u308a\u7c21\u6f54\u3067\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u306e\u4e00\u822c\u7684\u306a\u69cb\u9020\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\/\/ main() \u306e\u524d\u306b\u95a2\u6570\u3092\u5b9a\u7fa9\r\ntipo_de_retorno nombre_de_funcion(lista_de_parametros) {\r\n    \/\/ \u95a2\u6570\u672c\u4f53\r\n    return valor; \/\/ \u5fc5\u8981\u306b\u5fdc\u3058\u3066\r\n}\r\n\r\nint main() {\r\n    \/\/ \u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\r\n    nombre_de_funcion(argumentos);\r\n}\r\n<\/pre>\n<p><code>main()<\/code> \u306e\u524d\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u547c\u3073\u51fa\u3057\u6642\u70b9\u3067\u3059\u3067\u306b\u305d\u306e\u95a2\u6570\u3092\u8a8d\u8b58\u3057\u3066\u304a\u308a\u3001\u4e8b\u524d\u306e\u5ba3\u8a00\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<h3><strong>\u4f8b: \u5ba3\u8a00\u306a\u3057\u306e\u95a2\u6570 <code>consoladice()<\/code><\/strong><\/h3>\n<p>\u6b21\u306b\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3092\u9069\u7528\u3057\u305f\u5b9f\u969b\u306e\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n\r\n\/\/ \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u524d\u306b\u5b9a\u7fa9\r\nvoid consoladice() {\r\n    cout &lt;&lt; &quot;Esto es una simple cadena de caracteres o literales.&quot; &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Ahora te muestro el numero cinco. Aqui esta: &quot; &lt;&lt; 5 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Veamos que resultado nos da si hacemos 10\/5. El resultado es: &quot; &lt;&lt; 10\/5 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Una forma tipica de aproximar el numero Pi es haciendo 22\/7. El resultado es: &quot; &lt;&lt; 22\/7 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;En C++ no es lo mismo escribir 22\/7 que 22.0\/7, el trato es diferente.&quot; &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Con este simple cambio podemos ver que 22.0\/7 es igual a &quot; &lt;&lt; 22.0\/7 &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;No te parece esto una mejor aproximacion?&quot; &lt;&lt; endl;\r\n}\r\n\r\nint main() {\r\n    \/\/ \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\r\n    consoladice();\r\n    return 0;\r\n}\r\n<\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u304b\u3089\u6b21\u306e\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>5\u884c\u76ee\u304b\u308913\u884c\u76ee\u306e\u9593\u3067\u3001\u5ba3\u8a00\u3068\u5b9a\u7fa9\u304c\u7d71\u5408\u3055\u308c\u3066\u3044\u308b<\/strong>\n<p>\u95a2\u6570 <code>consoladice()<\/code> \u306f <code>main()<\/code> \u306e\u524d\u306b\u76f4\u63a5\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001\u5225\u3005\u306b\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<\/li>\n<li><strong>17\u884c\u76ee\u3067\u3001\u95a2\u6570\u304c <code>main()<\/code> \u5185\u3067\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u308b<\/strong>\n<p>\u95a2\u6570\u306f\u3059\u3067\u306b\u524d\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u305d\u308c\u3092\u8a8d\u8b58\u3057\u3001\u554f\u984c\u306a\u304f\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li><strong>\u7d50\u679c\u306f\u307e\u3063\u305f\u304f\u540c\u3058<\/strong>\n<p>\u6a5f\u80fd\u7684\u306b\u306f\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u300c\u5ba3\u8a00 &#8211; \u547c\u3073\u51fa\u3057 &#8211; \u5b9a\u7fa9\u300d\u3068\u540c\u3058\u52d5\u4f5c\u3092\u751f\u6210\u3057\u307e\u3059\u304c\u3001\u3088\u308a\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u69cb\u9020\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p><strong>\u2705 \u5229\u70b9:<\/strong><\/p>\n<ul>\n<li>\u5c0f\u898f\u6a21\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u3088\u308a\u76f4\u63a5\u7684\u3067\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u30b3\u30fc\u30c9\u306b\u306a\u308b\u3002<\/li>\n<li>\u4e8b\u524d\u306e\u5ba3\u8a00\u304c\u4e0d\u8981\u3067\u3001\u30b3\u30fc\u30c9\u884c\u6570\u3092\u6e1b\u3089\u305b\u308b\u3002<\/li>\n<li>\u3059\u3079\u3066\u306e\u95a2\u6570\u304c\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u306b\u3042\u308b\u77ed\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u8aad\u307f\u3084\u3059\u3055\u304c\u5411\u4e0a\u3059\u308b\u3002<\/li>\n<\/ul>\n<p><strong>\u274c \u6b20\u70b9:<\/strong><\/p>\n<ul>\n<li>\u5927\u898f\u6a21\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<code>main()<\/code> \u306e\u524d\u306b\u591a\u304f\u306e\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u308b\u3068\u6574\u7406\u304c\u96e3\u3057\u304f\u306a\u308b\u3002<\/li>\n<li>\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\uff08.h \u3084 .cpp\uff09\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u306b\u306f\u3042\u307e\u308a\u6709\u52b9\u3067\u306f\u306a\u304f\u3001\u5ba3\u8a00\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u308b\u65b9\u304c\u671b\u307e\u3057\u3044\u3002<\/li>\n<\/ul>\n<\/section>\n<p><center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/AkIhpuZP80k?si=yT8732AKk2i-QBLe\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"4\"><\/a><\/p>\n<h2>\u623b\u308a\u5024\u306e\u4f1d\u64ad<\/h2>\n<p>\u3053\u308c\u307e\u3067\u306f\u3001\u5358\u306b\u547d\u4ee4\u3092\u5b9f\u884c\u3057\u7d50\u679c\u3092\u8fd4\u3055\u306a\u3044\u95a2\u6570\u3092\u6271\u3063\u3066\u304d\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u95a2\u6570\u304c\u5024\u3092\u8fd4\u3057\u3001\u305d\u306e\u5024\u3092\u4ed6\u306e\u8a08\u7b97\u306b\u5229\u7528\u3057\u305f\u308a\u3001\u5909\u6570\u306b\u683c\u7d0d\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u623b\u308a\u5024\u306e\u4f1d\u64ad\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u5024\u3092\u8fd4\u3059\u95a2\u6570\u304c\u3069\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u306e\u304b\u3001<code>void<\/code> \u578b\u306e\u95a2\u6570\u3068\u306e\u9055\u3044\u3001\u305d\u3057\u3066 C++ \u3067\u3053\u306e\u4ed5\u7d44\u307f\u3092\u3069\u306e\u3088\u3046\u306b\u6d3b\u7528\u3067\u304d\u308b\u306e\u304b\u3092\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h3>\u5b9f\u8df5\u4f8b: \u9577\u65b9\u5f62\u306e\u9762\u7a4d\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570<\/h3>\n<p>\u623b\u308a\u5024\u306e\u4f1d\u64ad\u3092\u8aac\u660e\u3059\u308b\u305f\u3081\u306b\u3001\u9577\u65b9\u5f62\u306e\u5e95\u8fba\u3068\u9ad8\u3055\u3092\u53d7\u3051\u53d6\u308a\u3001\u305d\u306e\u9762\u7a4d\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n\r\n\/\/ \u9577\u65b9\u5f62\u306e\u9762\u7a4d\u3092\u8a08\u7b97\u3057\u3066\u7d50\u679c\u3092\u8fd4\u3059\u95a2\u6570\r\ndouble calcularArea(double base, double altura) {\r\n    return base * altura;\r\n}\r\n\r\nint main() {\r\n    double base, altura;\r\n    \r\n    \/\/ \u30e6\u30fc\u30b6\u30fc\u306b\u5024\u3092\u5165\u529b\u3055\u305b\u308b\r\n    cout &lt;&lt; &quot;Ingrese la base del rectangulo: &quot;;\r\n    cin &gt;&gt; base;\r\n    cout &lt;&lt; &quot;Ingrese la altura del rectangulo: &quot;;\r\n    cin &gt;&gt; altura;\r\n\r\n    \/\/ \u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u683c\u7d0d\r\n    double area = calcularArea(base, altura);\r\n\r\n    \/\/ \u7d50\u679c\u3092\u8868\u793a\r\n    cout &lt;&lt; &quot;El Area del rect\u00e1ngulo es: &quot; &lt;&lt; area &lt;&lt; endl;\r\n    \r\n    return 0;\r\n}\r\n<\/pre>\n<ol>\n<li><strong>\u95a2\u6570 <code>calcularArea()<\/code> \u304c\u5024\u3092\u8fd4\u3059<\/strong>\n<ul>\n<li>2\u3064\u306e\u5024\uff08<code>base<\/code> \u3068 <code>altura<\/code>\uff09\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<\/li>\n<li><code>base * altura<\/code> \u306b\u3088\u3063\u3066\u9762\u7a4d\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/li>\n<li><code>return<\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u6f14\u7b97\u7d50\u679c\u3092\u547c\u3073\u51fa\u3057\u5143\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u90e8\u5206\u306b\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong><code>main()<\/code> \u306b\u304a\u3051\u308b\u623b\u308a\u5024\u306e\u5229\u7528<\/strong>\n<ul>\n<li><code>base<\/code> \u3068 <code>altura<\/code> \u306e\u5024\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570 <code>calcularArea()<\/code> \u304c\u547c\u3073\u51fa\u3055\u308c\u3001\u305d\u306e\u7d50\u679c\u306f\u5909\u6570 <code>area<\/code> \u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u6700\u7d42\u7684\u306b\u3001\u305d\u306e\u7d50\u679c\u304c\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong><code>void<\/code> \u578b\u95a2\u6570\u3068\u306e\u91cd\u8981\u306a\u9055\u3044<\/strong>\n<p>\u3082\u3057 <code>calcularArea()<\/code> \u304c <code>void<\/code> \u578b\u3067\u3042\u308c\u3070\u3001\u7d50\u679c\u3092\u547c\u3073\u51fa\u3057\u5143\u306b\u8fd4\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u95a2\u6570\u5185\u3067\u76f4\u63a5\u8868\u793a\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u4f8b: \u6570\u304c\u5076\u6570\u304b\u5947\u6570\u304b\u3092\u5224\u5b9a\u3059\u308b\u95a2\u6570<\/h3>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n\r\nbool esPar(int numero) {\r\n    return numero % 2 == 0;\r\n}\r\n\r\nint main() {\r\n    int numero;\r\n    cout &lt;&lt; &quot;Ingrese un numero: &quot;; cin &gt;&gt; numero;\r\n\r\n    if (esPar(numero)) {\r\n        cout &lt;&lt; &quot;El numero es par.&quot; &lt;&lt; endl;\r\n    } else {\r\n        cout &lt;&lt; &quot;El numero es impar.&quot; &lt;&lt; endl;\r\n    }\r\n\r\n    return 0;\r\n}\r\n<\/pre>\n<p>\u3053\u3053\u3067\u3001\u95a2\u6570 <code>esPar()<\/code> \u306f\u6570\u304c\u5076\u6570\u3067\u3042\u308c\u3070 <code>true<\/code> \u3092\u8fd4\u3057\u3001\u5947\u6570\u3067\u3042\u308c\u3070 <code>false<\/code> \u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001<code>main()<\/code> \u304c\u7d50\u679c\u3092\u5229\u7528\u3057\u3066\u3069\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u304b\u3092\u6c7a\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/section>\n<p><center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/cRi0T1AeVaA?si=zIcuFhfy5Xs9U_kn\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"5\"><\/a><\/p>\n<h2>\u518d\u5e30: \u81ea\u5206\u81ea\u8eab\u3092\u547c\u3073\u51fa\u3059\u95a2\u6570<\/h2>\n<p><strong>\u518d\u5e30<\/strong>\u3068\u306f\u3001\u95a2\u6570\u304c\u81ea\u5206\u81ea\u8eab\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u554f\u984c\u3092\u3088\u308a\u5c0f\u3055\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5206\u5272\u3057\u306a\u304c\u3089\u89e3\u6c7a\u3059\u308b\u6280\u6cd5\u3067\u3059\u3002\u7279\u306b\u968e\u4e57\u8a08\u7b97\u3001\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u5217\u3001\u6728\u69cb\u9020\u306e\u63a2\u7d22\u3068\u3044\u3063\u305f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<h3>\u4f8b: \u6570\u306e\u968e\u4e57<\/h3>\n<p>\u6570 <span class=\"katex-eq\" data-katex-display=\"false\">n<\/span> \u306e\u968e\u4e57\u306f <span class=\"katex-eq\" data-katex-display=\"false\">n!=n\\cdot(n-1)\\cdot(n-2) \\cdots 3 \\cdot2 \\cdot 1<\/span> \u3067\u3059\u3002\u3053\u306e\u5b9a\u5f0f\u5316\u306b\u306f\u518d\u5e30\u7684\u306a\u69cb\u9020\u304c\u3042\u308a\u3001\u6b21\u306e\u3088\u3046\u306b\u6570\u5b66\u7684\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p style=\"text-align:center;\"><span class=\"katex-eq\" data-katex-display=\"false\">\n\\begin{array}{rl}\n\n0! &amp;=1\\\\\n\nn! &amp;= n\\cdot(n-1)!\\\\\n\n\\end{array}\n\n<\/span>\n<p>\u3053\u308c\u3092\u8e0f\u307e\u3048\u3066\u3001C++ \u3067\u3053\u306e\u95a2\u6570\u3092\u6b21\u306e\u3088\u3046\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n \r\nint factorial(int n) {\r\n    if (n == 0 || n == 1) {\r\n        return 1;\r\n    }\r\n    return n*factorial(n - 1);\r\n}\r\n \r\nint main() {\r\n    int numero;\r\n    cout &lt;&lt; &quot;Ingrese un numero: &quot;; cin &gt;&gt; numero;\r\n    cout &lt;&lt; &quot;El factorial de &quot; &lt;&lt; numero &lt;&lt; &quot; es &quot; &lt;&lt; factorial(numero) &lt;&lt; endl;\r\n    return 0;\r\n}<\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f:<\/p>\n<ul>\n<li>\u95a2\u6570 <code>factorial(n)<\/code> \u306f <code>n-1<\/code> \u3092\u5f15\u6570\u306b\u3057\u3066\u81ea\u5206\u81ea\u8eab\u3092\u547c\u3073\u51fa\u3057\u3001\u57fa\u5e95\u6761\u4ef6\uff08<code>n == 0<\/code> \u307e\u305f\u306f <code>n == 1<\/code>\uff09\u306b\u5230\u9054\u3059\u308b\u307e\u3067\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<li>\u95a2\u6570\u306f\u518d\u5e30\u7684\u306b\u89e3\u304b\u308c\u3001\u5024\u3092\u639b\u3051\u5408\u308f\u305b\u3066\u6700\u7d42\u7684\u306a\u7d50\u679c\u3092\u6c42\u3081\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3>\u4f8b: \u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u5217<\/h3>\n<p>\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u5217\u306f <span class=\"katex-eq\" data-katex-display=\"false\">1, 1, 2, 3, 5, 8, 13, \\cdots<\/span> \u3067\u8868\u3055\u308c\u308b\u6570\u5217\u3067\u3059\u3002\u3053\u306e\u6570\u5217\u306f\u3001\u5404\u9805\u304c\u76f4\u524d\u306e2\u3064\u306e\u9805\u306e\u548c\u3067\u3042\u308b\u3068\u3044\u3046\u7279\u5fb4\u3092\u6301\u3061\u307e\u3059\u3002<\/p>\n<p>\u6570\u5b66\u7684\u306b\u306f\u3001<span class=\"katex-eq\" data-katex-display=\"false\">fibo(n)<\/span> \u3092\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3092\u8fd4\u3059\u95a2\u6570\u3068\u3059\u308b\u3068\u3001\u305d\u306e\u69cb\u9020\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p style=\"text-align:center;\"><span class=\"katex-eq\" data-katex-display=\"false\">\n\\begin{array}{rl}\n\nfibo(0) &amp;= 1\\\\\n\nfibo(1) &amp;= 1 \\\\\n\nfibo(n) &amp;= fibo(n-1) + fibo(n-2)\n\n\\end{array}\n\n<\/span>\n<p>\u6b21\u306e C++ \u30b3\u30fc\u30c9\u306f\u30d5\u30a3\u30dc\u30ca\u30c3\u30c1\u6570\u3092\u8868\u793a\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include&lt;iostream&gt;\r\n \r\nusing namespace std;\r\n \r\nint fibo(int numero){\r\n    if (numero==0||numero==1){\r\n        return 1;\r\n        }\r\n    return fibo(numero-1)+fibo(numero-2);\r\n    }\r\n \r\nint main(){\r\n    int x=0, i=0;\r\n    cout &lt;&lt; &quot;ingresa un numero: &quot;; cin &gt;&gt; x;\r\n     \r\n    while (i &lt; x){\r\n        cout &lt;&lt;&quot;El numero de fibonacci en la posicion &quot; &lt;&lt; i+1 &lt;&lt; &quot; es: &quot; &lt;&lt; fibo(i)&lt;&lt;endl;\r\n        i=i+1;\r\n    }   \r\n}\r\n<\/pre>\n<\/section>\n<p><center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/EnMxDCHV1qg?si=4Y6oVAdNe9UeVDL5\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"6\"><\/a><\/p>\n<h2>\u95a2\u6570\u306b\u304a\u3051\u308b\u8907\u6570\u306e\u623b\u308a\u5024<\/h2>\n<p>C++ \u3067\u306f\u3001<code>std::pair<\/code>\u3001<code>std::tuple<\/code>\u3001\u3042\u308b\u3044\u306f\u5909\u6570\u3078\u306e\u53c2\u7167\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u30011\u3064\u306e\u95a2\u6570\u304b\u3089\u8907\u6570\u306e\u5024\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u4f8b: <code>std::pair<\/code> \u3092\u4f7f\u3063\u30662\u3064\u306e\u5024\u3092\u8fd4\u3059\u95a2\u6570<\/h3>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\n#include &lt;utility&gt; \/\/ std::pair \u3092\u4f7f\u3046\u305f\u3081\u306b\u5fc5\u8981\r\nusing namespace std;\r\n \r\npair&lt;int, int&gt; dividir(int a, int b) {\r\n    return make_pair(a \/ b, a % b);\r\n}\r\n \r\nint main() {\r\n    int numerador=0, denominador=1;\r\n     \r\n    cout &lt;&lt; &quot;ingresa el numerador: &quot;; cin &gt;&gt; numerador;\r\n    cout &lt;&lt; &quot;Ingresa el denominador: &quot;; cin &gt;&gt; denominador;\r\n     \r\n    pair&lt;int, int&gt; resultado = dividir(numerador, denominador);\r\n \r\n    cout &lt;&lt; &quot;Cociente: &quot; &lt;&lt; resultado.first &lt;&lt; endl;\r\n    cout &lt;&lt; &quot;Resto: &quot; &lt;&lt; resultado.second &lt;&lt; endl;\r\n \r\n    return 0;\r\n}\r\n<\/pre>\n<p>\u3053\u3053\u3067\u3001\u95a2\u6570 <code>dividir()<\/code> \u306f2\u3064\u306e\u5024\u3092\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u306f\u6574\u6570\u9664\u7b97\u306e\u300c\u5546\u300d\u3068\u300c\u4f59\u308a\u300d\u3067\u3059\u3002<\/p>\n<h3>\u4f8b: <code>std::tuple<\/code> \u3092\u4f7f\u3063\u30662\u3064\u4ee5\u4e0a\u306e\u5024\u3092\u8fd4\u3059\u95a2\u6570<\/h3>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\n#include &lt;tuple&gt;\r\nusing namespace std;\r\n\r\ntuple&lt;int, int, int&gt; operaciones(int a, int b) {\r\n    return make_tuple(a + b, a - b, a * b);\r\n}\r\n\r\nint main() {\r\n    int suma=0, resta=0, producto=0;\r\n    int a=0, b=0;\r\n    \r\n    cout &lt;&lt; &quot;ingresa un numero: &quot;; cin &gt;&gt; a;\r\n    \r\n    cout &lt;&lt; &quot;ingresa otro numero: &quot;; cin &gt;&gt; b;\r\n    \r\n    std::tie(suma, resta, producto) = operaciones(a, b);\r\n\r\n    cout &lt;&lt; &quot;Suma: &quot; &lt;&lt; suma &lt;&lt; &quot;, Resta: &quot; &lt;&lt; resta &lt;&lt; &quot;, Producto: &quot; &lt;&lt; producto &lt;&lt; endl;\r\n    return 0;\r\n}\r\n<\/pre>\n<\/section>\n<p><center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/UdkBf26gTew?si=RTadJpxFBQ2Uctzs\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"7\"><\/a><\/p>\n<h2>\u95a2\u6570\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9 (overloading)<\/h2>\n<p>\u95a2\u6570\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3092\u4f7f\u3046\u3068\u3001\u540c\u3058\u540d\u524d\u3067\u3042\u308a\u306a\u304c\u3089\u7570\u306a\u308b\u578b\u3084\u6570\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6301\u3064\u8907\u6570\u306e\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u3068\u518d\u5229\u7528\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\n#include &lt;string&gt; \/\/ std::string \u3092\u4f7f\u3046\u305f\u3081\u306b\u5fc5\u8981\r\n#include &lt;cmath&gt;\r\n\r\nusing namespace std;\r\n\r\n\/\/ \u6b63\u65b9\u5f62\u307e\u305f\u306f\u5186\uff081\u3064\u306e\u5024\u3067\u8868\u3055\u308c\u308b\u56f3\u5f62\uff09\u306e\u9762\u7a4d\r\ndouble area(double lado) {\r\n    return lado * lado;\r\n}\r\n\r\n\/\/ \u9577\u65b9\u5f62\uff08\u307e\u305f\u306f2\u3064\u306e\u5024\u3067\u8868\u3055\u308c\u308b\u56f3\u5f62\uff09\u306e\u9762\u7a4d\r\ndouble area(double base, double altura) {\r\n    return base * altura;\r\n}\r\n\r\n\/\/ \u4e09\u89d2\u5f62\uff08\u307e\u305f\u306f3\u3064\u306e\u5024\u3067\u8868\u3055\u308c\u308b\u56f3\u5f62\uff09\u306e\u9762\u7a4d\r\ndouble area(double a, double b, double c){\r\n\treturn 0.25*sqrt((a+b+c)*(a+b-c)*(a-b+c)*(-a+b+c));\r\n}\r\n\r\nint main() {\r\n    string figura;\r\n    double resultado = 0;\r\n    double l1=0, l2=0, l3=0;\r\n\r\n    \/\/ \u56f3\u5f62\u3092\u5165\u529b\r\n    cout &lt;&lt; &quot;Que figura es? (cuadrado, circulo, rectangulo o triangulo): &quot;;\r\n    cin &gt;&gt; figura;\r\n\r\n    \/\/ if-else \u3067\u56f3\u5f62\u3092\u5224\u5b9a\r\n    if (figura == &quot;cuadrado&quot;) {\r\n        cout &lt;&lt; &quot;\u00bfCuanto mide su lado? &quot;; cin &gt;&gt; l1;\r\n        resultado = area(l1);\r\n        cout &lt;&lt; &quot;El area del cuadrado es: &quot; &lt;&lt; resultado &lt;&lt; endl;\r\n    } \r\n    else if (figura == &quot;rectangulo&quot;){\r\n        cout &lt;&lt; &quot;Cuanto mide la base? &quot;; cin &gt;&gt; l1;\r\n        cout &lt;&lt; &quot;Cuanto mide la altura? &quot;;cin &gt;&gt; l2;\r\n        resultado = area(l1, l2);\r\n        cout &lt;&lt; &quot;El area del rectangulo es: &quot; &lt;&lt; resultado &lt;&lt; endl;\r\n    } \r\n    else if (figura == &quot;circulo&quot;) {\r\n\t\tl1 = 3.141592653;\r\n        cout &lt;&lt; &quot;Cu\u00e1nto mide el radio? &quot;; cin &gt;&gt; l2;\r\n        resultado = area(l1, l2);\r\n        cout &lt;&lt; &quot;El area del c\u00edrculo es: &quot; &lt;&lt; resultado &lt;&lt; endl;\r\n    } \r\n    else if (figura == &quot;triangulo&quot;){\r\n    \tcout &lt;&lt; &quot;Cuanto miden sus lados?&quot; &lt;&lt; endl;\r\n    \tcout &lt;&lt; &quot;lado 1: &quot;; cin &gt;&gt; l1;\r\n\t\tcout &lt;&lt; &quot;lado 2: &quot;; cin &gt;&gt; l2;\r\n\t\tcout &lt;&lt; &quot;lado 3: &quot;; cin &gt;&gt; l3;\r\n\t\t\t\r\n\t\tif ((l1+l2+l3)*(l1+l2-l3)*(l1-l2+l3)*(-l1+l2+l3)&lt;0){\r\n\t\t\tcout &lt;&lt; &quot;el triangulo es imposible&quot;;\r\n\t\t}\t\r\n\t\telse {\r\n\t\t\tresultado = area(l1,l2,l3);\r\n\t\t\tcout &lt;&lt; &quot;El area del triangulo es: &quot; &lt;&lt; resultado &lt;&lt; endl;\r\n\t\t} \t\t\t\r\n\t}\r\n    else {\r\n        cout &lt;&lt; &quot;Figura no v\u00e1lida.&quot; &lt;&lt; endl;\r\n    }\r\n    return 0;\r\n}<\/pre>\n<\/section>\n<p><center><iframe class=\"lazyload\" width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/0vzQFAXjqbg?si=ckRolBE3n0I5QPPp\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/center><\/p>\n<section><a name=\"8\"><\/a><\/p>\n<h2>C++ \u306b\u304a\u3051\u308b\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570<\/h2>\n<p>C++ \u306e <code>inline<\/code> \u95a2\u6570\u306f\u3001\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u524a\u6e1b\u3059\u308b\u3053\u3068\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u4ed5\u7d44\u307f\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u901a\u5e38\u306e\u547c\u3073\u51fa\u3057\u3092\u5b9f\u884c\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u305f\u3073\u306b\u305d\u306e\u30b3\u30fc\u30c9\u3092\u76f4\u63a5\u5c55\u958b\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u306e\u69cb\u6587<\/h3>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\ninline tipo_de_retorno nombre_de_funcion(lista_de_parametros) {\r\n    \/\/ \u95a2\u6570\u672c\u4f53\r\n    return valor; \/\/ \u5fc5\u8981\u306b\u5fdc\u3058\u3066\r\n}<\/pre>\n<p><code>inline<\/code> \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5225\u306e\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u306b\u30b8\u30e3\u30f3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u3001\u5b9f\u884c\u6642\u9593\u3092\u77ed\u7e2e\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u901a\u5e38\u306e\u95a2\u6570\u306e\u9055\u3044<\/h3>\n<table>\n<tr>\n<th style=\"width: 20%;\"><strong>\u7279\u5fb4<\/strong><\/th>\n<th><strong>\u901a\u5e38\u306e\u95a2\u6570<\/strong><\/th>\n<th><strong>\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570<\/strong><\/th>\n<\/tr>\n<tr>\n<td><strong>\u95a2\u6570\u547c\u3073\u51fa\u3057<\/strong><\/td>\n<td>\u30b8\u30e3\u30f3\u30d7\u306b\u3088\u308b\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u308b\u3002<\/td>\n<td>\u4f7f\u7528\u3055\u308c\u308b\u5834\u6240\u306b\u30b3\u30fc\u30c9\u304c\u76f4\u63a5\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u5b9f\u884c\u6642\u9593<\/strong><\/td>\n<td>\u547c\u3073\u51fa\u3057\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306b\u3088\u308a\u9045\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/td>\n<td>\u5c0f\u3055\u306a\u95a2\u6570\u3067\u306f\u3088\u308a\u901f\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf<\/strong><\/td>\n<td>\u30e1\u30e2\u30ea\u306b1\u3064\u306e\u95a2\u6570\u30b3\u30d4\u30fc\u306e\u307f\u304c\u4fdd\u5b58\u3055\u308c\u308b\u3002<\/td>\n<td>\u95a2\u6570\u304c\u4f55\u5ea6\u3082\u4f7f\u7528\u3055\u308c\u308b\u3068\u30d0\u30a4\u30ca\u30ea\u30b3\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\u304c\u5897\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/td>\n<\/tr>\n<\/table>\n<h3><code>inline<\/code> \u95a2\u6570\u306e\u4f8b<\/h3>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n#include &lt;iostream&gt;\r\nusing namespace std;\r\n\r\ninline int cuadrado(int x) {\r\n    return x * x;\r\n}\r\n\r\nint main() {\r\n    cout &lt;&lt; &quot;El cuadrado de 5 es: &quot; &lt;&lt; cuadrado(5) &lt;&lt; endl;\r\n    return 0;\r\n}\r\n<\/pre>\n<p><strong>\ud83d\udd0d \u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u51e6\u7406:<\/strong><\/p>\n<ol>\n<li>\u30b3\u30f3\u30d1\u30a4\u30e9\u306f <code>cuadrado(5)<\/code> \u306e\u547c\u3073\u51fa\u3057\u3092\u76f4\u63a5 <code>5 * 5<\/code> \u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/li>\n<li>\u30b8\u30e3\u30f3\u30d7\u306b\u3088\u308b\u5b9f\u884c\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>\u8a08\u7b97\u306f\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u306e\u3068\u540c\u3058\u884c\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n<h3><code>inline<\/code> \u306e\u5229\u70b9\u3068\u6b20\u70b9<\/h3>\n<p><strong>\u2705 \u5229\u70b9<\/strong><\/p>\n<ul>\n<li><strong>\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u6392\u9664:<\/strong> \u77ed\u304f\u3066\u983b\u7e41\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u95a2\u6570\u306e\u5b9f\u884c\u6642\u9593\u3092\u77ed\u7e2e\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u3088\u308b\u6700\u9069\u5316\u3092\u5bb9\u6613\u306b\u3059\u308b:<\/strong> CPU \u30ec\u30b8\u30b9\u30bf\u3084\u30b9\u30bf\u30c3\u30af\u306e\u4f7f\u7528\u3092\u56de\u907f\u3059\u308b\u3053\u3068\u3067\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u95a2\u6570\u306e\u30b3\u30fc\u30c9\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002<\/strong><\/li>\n<\/ul>\n<p><strong>\u274c \u6b20\u70b9<\/strong><\/p>\n<ul>\n<li><strong>\u30d0\u30a4\u30ca\u30ea\u30b5\u30a4\u30ba\u306e\u5897\u52a0:<\/strong> <code>inline<\/code> \u95a2\u6570\u304c\u5927\u898f\u6a21\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u4f55\u5ea6\u3082\u4f7f\u7528\u3055\u308c\u308b\u5834\u5408\u3001\u547c\u3073\u51fa\u3057\u3054\u3068\u306b\u30b3\u30fc\u30c9\u304c\u8907\u88fd\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u7279\u306b\u9577\u3044\u95a2\u6570\u3084\u983b\u7e41\u306b\u4f7f\u308f\u308c\u308b\u95a2\u6570\u3067\u9855\u8457\u306b\u73fe\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u5e38\u306b\u30a4\u30f3\u30e9\u30a4\u30f3\u5c55\u958b\u3055\u308c\u308b\u3068\u306f\u9650\u3089\u306a\u3044:<\/strong> \u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u6700\u9069\u3067\u306a\u3044\u3068\u5224\u65ad\u3057\u305f\u5834\u5408\u3001<code>inline<\/code> \u306e\u6307\u793a\u3092\u7121\u8996\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/section>\n<footer><a name=\"9\"><\/a><\/p>\n<h2>C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u306b\u95a2\u3059\u308b\u6700\u7d42\u7684\u306a\u8003\u5bdf<\/h2>\n<p>C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u306f\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u5316\u3055\u308c\u3001\u518d\u5229\u7528\u53ef\u80fd\u3067\u3001\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u4e0d\u53ef\u6b20\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u8b1b\u7fa9\u3067\u306f\u3001\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3068\u3044\u3063\u305f\u57fa\u672c\u7684\u306a\u6982\u5ff5\u304b\u3089\u3001\u623b\u308a\u5024\u306e\u4f1d\u64ad\u3001\u518d\u5e30\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u305d\u3057\u3066 <code>inline<\/code> \u95a2\u6570\u306e\u5229\u7528\u3068\u3044\u3063\u305f\u3088\u308a\u9ad8\u5ea6\u306a\u6280\u6cd5\u307e\u3067\u3092\u5b66\u3073\u307e\u3057\u305f\u3002\u307e\u305f\u3001\u30b3\u30fc\u30c9\u306e\u69cb\u6210\u306b\u95a2\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u6226\u7565\u3092\u6bd4\u8f03\u3057\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b\u91cd\u8981\u6027\u306b\u3064\u3044\u3066\u3082\u89e6\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u95a2\u6570\u3092\u6b63\u3057\u304f\u7406\u89e3\u3057\u5fdc\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306f\u3088\u308a\u660e\u78ba\u304b\u3064\u52b9\u7387\u7684\u306b\u306a\u308a\u3001\u8907\u96d1\u306a\u554f\u984c\u306b\u3082\u69cb\u9020\u5316\u3055\u308c\u305f\u89e3\u6c7a\u7b56\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u3001\u3088\u308a\u5c02\u9580\u7684\u3067\u62e1\u5f35\u6027\u306e\u9ad8\u3044\u30a2\u30d7\u30ed\u30fc\u30c1\u3067 C++ \u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u958b\u767a\u3059\u308b\u57fa\u76e4\u304c\u6574\u3044\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u77e5\u8b58\u3092\u5b9a\u7740\u3055\u305b\u308b\u6700\u826f\u306e\u65b9\u6cd5\u306f\u5b9f\u8df5\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u306e\u95a2\u6570\u3092\u8a66\u3057\u3001\u81ea\u5206\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5fdc\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002C++ \u306e\u30b9\u30ad\u30eb\u3092\u3055\u3089\u306b\u9ad8\u3081\u3001\u6b21\u306e\u30ec\u30d9\u30eb\u3078\u3068\u9032\u3093\u3067\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ \u306b\u304a\u3051\u308b\u95a2\u6570 C++ \u306b\u304a\u3051\u308b\u95a2\u6570\uff1a\u660e\u78ba\u3067\u518d\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u91cd\u8981\u306a\u8981\u7d20 \u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5927\u304d\u304f\u306a\u308b\u306b\u3064\u308c\u3066\u3001\u305d\u306e\u30b3\u30fc\u30c9\u304c\u7406\u89e3\u3057\u306b\u304f\u304f\u3001\u4fdd\u5b88\u3057\u306b\u304f\u304f\u306a\u308b\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\u3002\u3082\u3057\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u304c\u8ff7\u8def\u306e\u3088\u3046\u306b\u8907\u96d1\u306b\u898b\u3048\u308b\u3068\u611f\u3058\u305f\u3053\u3068\u304c\u3042\u308b\u306a\u3089\u3001\u305d\u308c\u306f C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u5341\u5206\u306b\u6d3b\u7528\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3059\u3002\u95a2\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7ba1\u7406\u3057\u3084\u3059\u3044\u90e8\u5206\u306b\u5206\u5272\u3059\u308b\u69cb\u6210\u8981\u7d20\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u8aad\u307f\u3084\u3059\u3055\u3001\u4fdd\u5b88\u6027\u3001\u6700\u9069\u5316\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002\u672c\u8b1b\u7fa9\u3067\u306f\u3001\u95a2\u6570\u3092\u52b9\u679c\u7684\u306b\u5229\u7528\u3057\u3066\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u5316\u3092\u6539\u5584\u3057\u3001\u3088\u308a\u4f53\u7cfb\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u3001C++ \u306b\u304a\u3051\u308b\u958b\u767a\u3092\u3088\u308a\u5c02\u9580\u7684\u304b\u3064\u52b9\u7387\u7684\u306b\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002 \u5b66\u7fd2\u76ee\u6a19 \u3053\u306e\u8b1b\u7fa9\u3092\u7d42\u3048\u308b\u3068\u3001\u6b21\u306e\u3053\u3068\u304c\u5b66\u3079\u307e\u3059\u3002 \u7406\u89e3\u3059\u308b\uff1a\u95a2\u6570\u306e\u76ee\u7684\u3068\u3001\u305d\u308c\u304c C++ \u306b\u304a\u3044\u3066\u4e0d\u53ef\u6b20\u3067\u3042\u308b\u7406\u7531\u3002 \u4f5c\u6210\u3059\u308b\uff1a\u6b63\u3057\u304f\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3001\u69cb\u9020\u5316\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u73fe\u3059\u308b\u3002 \u547c\u3073\u51fa\u3059\uff1a\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3001\u305d\u306e\u5b9f\u884c\u65b9\u6cd5\u3092\u7406\u89e3\u3059\u308b\u3002 \u533a\u5225\u3059\u308b\uff1a\u5024\u3092\u8fd4\u3059\u95a2\u6570\u3068\u3001\u5358\u306b\u547d\u4ee4\u3092\u5b9f\u884c\u3059\u308b\u95a2\u6570\u3092\u533a\u5225\u3059\u308b\u3002 \u6bd4\u8f03\u3059\u308b\uff1a\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3092\u6bd4\u8f03\u3057\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6700\u9069\u306a\u3082\u306e\u3092\u9078\u3076\u3002 \u76ee\u6b21 \u95a2\u6570\u306e\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9 \u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u5ba3\u8a00 \u2013 \u547c\u3073\u51fa\u3057 \u2013 \u5b9a\u7fa9 \u30a2\u30d7\u30ed\u30fc\u30c1\uff1a\u547c\u3073\u51fa\u3057\u524d\u306b\u5ba3\u8a00\u3068\u5b9f\u88c5\u3092\u884c\u3046 \u623b\u308a\u5024\u306e\u4f1d\u64ad \u518d\u5e30\uff1a\u81ea\u5206\u81ea\u8eab\u3092\u547c\u3073\u51fa\u3059\u95a2\u6570 \u95a2\u6570\u306b\u304a\u3051\u308b\u8907\u6570\u306e\u623b\u308a\u5024 \u95a2\u6570\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9 (overloading) C++ \u306b\u304a\u3051\u308b\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570 C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u306b\u95a2\u3059\u308b\u6700\u7d42\u7684\u306a\u8003\u5bdf \u95a2\u6570\u306e\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9 C++ \u306b\u304a\u3044\u3066\u3001\u95a2\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u7684\u304b\u3064\u7d44\u7e54\u7684\u306b\u69cb\u7bc9\u3067\u304d\u308b\u518d\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002\u5404\u95a2\u6570\u306f\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u3092\u30ab\u30d7\u30bb\u30eb\u5316\u3057\u3066\u304a\u308a\u3001\u30b3\u30fc\u30c9\u306e\u660e\u78ba\u3055\u3068\u4fdd\u5b88\u6027\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u95a2\u6570\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u5ba3\u8a00\u3001\u547c\u3073\u51fa\u3057\u3001\u5b9a\u7fa9 \u306e\u4e09\u3064\u306e\u57fa\u672c\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u308c\u3089\u4e09\u3064\u306e\u6982\u5ff5\u306f\u4e0d\u53ef\u6b20\u3067\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u304c\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u306b\u304a\u3044\u3066\u7279\u6709\u306e\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u8a73\u7d30\u306b\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002 \u95a2\u6570\u306e\u5ba3\u8a00 \u95a2\u6570\u3092\u30b3\u30fc\u30c9\u5185\u3067\u4f7f\u7528\u3059\u308b\u524d\u306b\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u305d\u306e\u5b58\u5728\u3092\u77e5\u3089\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u95a2\u6570\u306e\u5ba3\u8a00\u307e\u305f\u306f\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306b\u3088\u3063\u3066\u884c\u308f\u308c\u307e\u3059\u3002 \u95a2\u6570\u306e\u5ba3\u8a00\u306f\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u6b21\u306e\u4e09\u3064\u306e\u57fa\u672c\u4e8b\u9805\u3092\u4f1d\u3048\u307e\u3059\u3002 \u95a2\u6570\u304c\u8fd4\u3059\u30c7\u30fc\u30bf\u578b\uff08\u4f55\u3082\u8fd4\u3055\u306a\u3044\u5834\u5408\u306f void\uff09\u3002 \u95a2\u6570\u306e\u540d\u524d\u3002 \u53d7\u3051\u53d6\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\uff08\u3042\u308b\u5834\u5408\uff09\u3001\u304a\u3088\u3073\u305d\u308c\u3089\u306e\u578b\u3002 \u95a2\u6570\u5ba3\u8a00\u306e\u4e00\u822c\u7684\u306a\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 tipo_de_retorno nombre_de_funcion (lista_de_parametros); \u95a2\u6570\u306e\u5ba3\u8a00\u306f\u901a\u5e38\u3001main() \u306e\u524d\u3001\u307e\u305f\u306f\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u306f\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb .h \u306b\u7f6e\u304b\u308c\u307e\u3059\u3002 \u95a2\u6570\u306e\u547c\u3073\u51fa\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":31365,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5,"footnotes":""},"categories":[1218,1206],"tags":[],"class_list":["post-34903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c","category-1206"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>C++ \u306b\u304a\u3051\u308b\u95a2\u6570 - toposuranos.com\/material<\/title>\n<meta name=\"description\" content=\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\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:\/\/toposuranos.com\/material\/ja\/c-\u306b\u304a\u3051\u308b\u95a2\u6570\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\" \/>\n<meta property=\"og:description\" content=\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/toposuranos.com\/material\/ja\/c-\u306b\u304a\u3051\u308b\u95a2\u6570\/\" \/>\n<meta property=\"og:site_name\" content=\"toposuranos.com\/material\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/groups\/toposuranos\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-04T13:00:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-21T10:15:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c-1024x585.jpg\" \/>\n<meta name=\"author\" content=\"giorgio.reveco\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\" \/>\n<meta name=\"twitter:description\" content=\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@topuranos\" \/>\n<meta name=\"twitter:site\" content=\"@topuranos\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"giorgio.reveco\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/\"},\"author\":{\"name\":\"giorgio.reveco\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#\\\/schema\\\/person\\\/e15164361c3f9a2a02cf6c234cf7fdc1\"},\"headline\":\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\",\"datePublished\":\"2025-02-04T13:00:04+00:00\",\"dateModified\":\"2025-09-21T10:15:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/\"},\"wordCount\":1305,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/funciones-en-c.jpg\",\"articleSection\":[\"C++\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\",\"\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u79d1\u5b66\u3068\u60c5\u5831\u5b66\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/\",\"url\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/\",\"name\":\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570 - toposuranos.com\\\/material\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/funciones-en-c.jpg\",\"datePublished\":\"2025-02-04T13:00:04+00:00\",\"dateModified\":\"2025-09-21T10:15:59+00:00\",\"description\":\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#primaryimage\",\"url\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/funciones-en-c.jpg\",\"contentUrl\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/funciones-en-c.jpg\",\"width\":1792,\"height\":1024,\"caption\":\"toposuranos.com\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/ja\\\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/es\\\/cursos-de-matematica-y-fisica\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#website\",\"url\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/\",\"name\":\"toposuranos.com\\\/material\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#organization\",\"name\":\"toposuranos.com\\\/material\",\"url\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/logo.png\",\"contentUrl\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/logo.png\",\"width\":2400,\"height\":2059,\"caption\":\"toposuranos.com\\\/material\"},\"image\":{\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/groups\\\/toposuranos\",\"https:\\\/\\\/x.com\\\/topuranos\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC16yDm12cPcrwsE0fAM7X1g\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/69429190\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/#\\\/schema\\\/person\\\/e15164361c3f9a2a02cf6c234cf7fdc1\",\"name\":\"giorgio.reveco\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/1694478625378-96x96.jpeg\",\"url\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/1694478625378-96x96.jpeg\",\"contentUrl\":\"http:\\\/\\\/toposuranos.com\\\/material\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/1694478625378-96x96.jpeg\",\"caption\":\"giorgio.reveco\"},\"description\":\"Soy Licenciado en F\u00edsica, Magister en Ingenier\u00eda Industrial y Docente Universitario. Me dedico a desmitificar la f\u00edsica y las matem\u00e1ticas. Mi objetivo es hacer que estos campos sean f\u00e1cilmente comprensibles para todos, proporcionando las herramientas para explorar no solo el mundo que nos rodea, sino tambi\u00e9n las profundidades de nuestra propia existencia y el orden natural que nos conecta con el cosmos.\",\"sameAs\":[\"http:\\\/\\\/toposuranos.com\\\/material\"],\"url\":\"https:\\\/\\\/toposuranos.com\\\/material\\\/author\\\/giorgio-reveco\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570 - toposuranos.com\/material","description":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\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:\/\/toposuranos.com\/material\/ja\/c-\u306b\u304a\u3051\u308b\u95a2\u6570\/","og_locale":"es_ES","og_type":"article","og_title":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570","og_description":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002","og_url":"https:\/\/toposuranos.com\/material\/ja\/c-\u306b\u304a\u3051\u308b\u95a2\u6570\/","og_site_name":"toposuranos.com\/material","article_publisher":"https:\/\/www.facebook.com\/groups\/toposuranos","article_published_time":"2025-02-04T13:00:04+00:00","article_modified_time":"2025-09-21T10:15:59+00:00","og_image":[{"url":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c-1024x585.jpg","type":"","width":"","height":""}],"author":"giorgio.reveco","twitter_card":"summary_large_image","twitter_title":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570","twitter_description":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002","twitter_image":"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg","twitter_creator":"@topuranos","twitter_site":"@topuranos","twitter_misc":{"Escrito por":"giorgio.reveco","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#article","isPartOf":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/"},"author":{"name":"giorgio.reveco","@id":"https:\/\/toposuranos.com\/material\/#\/schema\/person\/e15164361c3f9a2a02cf6c234cf7fdc1"},"headline":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570","datePublished":"2025-02-04T13:00:04+00:00","dateModified":"2025-09-21T10:15:59+00:00","mainEntityOfPage":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/"},"wordCount":1305,"commentCount":0,"publisher":{"@id":"https:\/\/toposuranos.com\/material\/#organization"},"image":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#primaryimage"},"thumbnailUrl":"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg","articleSection":["C++\u306b\u3088\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u79d1\u5b66\u3068\u60c5\u5831\u5b66"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/","url":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/","name":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570 - toposuranos.com\/material","isPartOf":{"@id":"https:\/\/toposuranos.com\/material\/#website"},"primaryImageOfPage":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#primaryimage"},"image":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#primaryimage"},"thumbnailUrl":"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg","datePublished":"2025-02-04T13:00:04+00:00","dateModified":"2025-09-21T10:15:59+00:00","description":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570\u3092\u52b9\u7387\u7684\u306b\u4f7f\u3046\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u5b9f\u8df5\u7684\u306a\u4f8b\u3092\u901a\u3057\u3066\u95a2\u6570\u306e\u5ba3\u8a00\u30fb\u547c\u3073\u51fa\u3057\u30fb\u5b9a\u7fa9\u3092\u7406\u89e3\u3057\u3001\u623b\u308a\u5024\u3001\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3001\u518d\u5e30\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u95a2\u6570\u3068\u3044\u3063\u305f\u6982\u5ff5\u3092\u63a2\u6c42\u3057\u307e\u3057\u3087\u3046\u3002","breadcrumb":{"@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#primaryimage","url":"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg","contentUrl":"https:\/\/toposuranos.com\/material\/wp-content\/uploads\/2025\/02\/funciones-en-c.jpg","width":1792,"height":1024,"caption":"toposuranos.com"},{"@type":"BreadcrumbList","@id":"https:\/\/toposuranos.com\/material\/ja\/c-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e9%96%a2%e6%95%b0\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"http:\/\/toposuranos.com\/material\/es\/cursos-de-matematica-y-fisica\/"},{"@type":"ListItem","position":2,"name":"C++ \u306b\u304a\u3051\u308b\u95a2\u6570"}]},{"@type":"WebSite","@id":"https:\/\/toposuranos.com\/material\/#website","url":"https:\/\/toposuranos.com\/material\/","name":"toposuranos.com\/material","description":"","publisher":{"@id":"https:\/\/toposuranos.com\/material\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/toposuranos.com\/material\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/toposuranos.com\/material\/#organization","name":"toposuranos.com\/material","url":"https:\/\/toposuranos.com\/material\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/toposuranos.com\/material\/#\/schema\/logo\/image\/","url":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2023\/10\/logo.png","contentUrl":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2023\/10\/logo.png","width":2400,"height":2059,"caption":"toposuranos.com\/material"},"image":{"@id":"https:\/\/toposuranos.com\/material\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/groups\/toposuranos","https:\/\/x.com\/topuranos","https:\/\/www.youtube.com\/channel\/UC16yDm12cPcrwsE0fAM7X1g","https:\/\/www.linkedin.com\/company\/69429190"]},{"@type":"Person","@id":"https:\/\/toposuranos.com\/material\/#\/schema\/person\/e15164361c3f9a2a02cf6c234cf7fdc1","name":"giorgio.reveco","image":{"@type":"ImageObject","inLanguage":"es","@id":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2023\/10\/1694478625378-96x96.jpeg","url":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2023\/10\/1694478625378-96x96.jpeg","contentUrl":"http:\/\/toposuranos.com\/material\/wp-content\/uploads\/2023\/10\/1694478625378-96x96.jpeg","caption":"giorgio.reveco"},"description":"Soy Licenciado en F\u00edsica, Magister en Ingenier\u00eda Industrial y Docente Universitario. Me dedico a desmitificar la f\u00edsica y las matem\u00e1ticas. Mi objetivo es hacer que estos campos sean f\u00e1cilmente comprensibles para todos, proporcionando las herramientas para explorar no solo el mundo que nos rodea, sino tambi\u00e9n las profundidades de nuestra propia existencia y el orden natural que nos conecta con el cosmos.","sameAs":["http:\/\/toposuranos.com\/material"],"url":"https:\/\/toposuranos.com\/material\/author\/giorgio-reveco\/"}]}},"_links":{"self":[{"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/posts\/34903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/comments?post=34903"}],"version-history":[{"count":0,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/posts\/34903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/media\/31365"}],"wp:attachment":[{"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/media?parent=34903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/categories?post=34903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toposuranos.com\/material\/wp-json\/wp\/v2\/tags?post=34903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}