Skip to content
Navigation Menu
{{ message }}
forked from devsonket/devsonket.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1 lines (1 loc) · 40.7 KB
/
Copy pathindex.html
File metadata and controls
1 lines (1 loc) · 40.7 KB
1
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="ie=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/><style data-href="/styles.7497973c3b64c3bb24dc.css">:root{--accentdark:#201f22;--accentlight:#f8f6f8;--accentwhite:#fffeff;--accentaction:#e2e1e5;--accentactionactive:#6137f6;--accenthighlight:#ffc107}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0;max-width:100%;background-color:var(--accentwhite);color:var(--accentdark);font-family:Hind Siliguri,Arial,sans-serif;color-adjust:exact;-webkit-print-color-adjust:exact}*{box-sizing:border-box}:after,:before{box-sizing:inherit}@font-face{font-family:Hind Siliguri;src:url(/static/HindSiliguri-Light-a1b7032575062ac20f0e44700e4d1ae0.woff2) format("woff2"),url(/static/HindSiliguri-Light-2bb3f229615609e15915ec8911e48a5d.woff) format("woff");font-weight:300;font-style:normal}@font-face{font-family:Hind Siliguri;src:url(/static/HindSiliguri-Regular-eba436a2b1e821f0d771a1f5964bb017.woff2) format("woff2"),url(/static/HindSiliguri-Regular-bcd5e7090510f3a7e6d7794a4c48169e.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Hind Siliguri;src:url(/static/HindSiliguri-Bold-803c03c1df3a69d6dc6d379f9dfa7666.woff2) format("woff2"),url(/static/HindSiliguri-Bold-8485b9b81c53dc203bde0c1a96ac5442.woff) format("woff");font-weight:800;font-style:normal}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:var(--icon-highlight);color:var(--sub-headline)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid var(--icon-stroke);margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}img{max-width:100%;padding:0;margin:0 0 1.45rem}h1{font-size:2.25rem}h1,h2{padding:0;margin:0 0 1.45rem;color:inherit;font-weight:700;text-rendering:optimizeLegibility;line-height:1.1}h2{font-size:1.62671rem}h3{font-size:1.38316rem}h3,h4{padding:0;margin:0 0 1.45rem;color:inherit;font-weight:700;text-rendering:optimizeLegibility;line-height:1.1}h4{font-size:1rem}h5{font-size:.85028rem}h5,h6{padding:0;margin:0 0 1.45rem;color:inherit;font-weight:700;text-rendering:optimizeLegibility;line-height:1.1}h6{font-size:.78405rem}hgroup{padding:0;margin:0 0 1.45rem}ul{margin-right:0;margin-top:0;margin-bottom:0}ol,ul{padding:0;list-style-position:outside;list-style-image:none}ol{margin:0 0 1.45rem 1.45rem}dd,dl,figure,p{padding:0;margin:0 0 1.45rem}pre{margin:0 0 1.45rem;font-size:.85rem;line-height:1.42;background:var(--card-paragraph);border-radius:3px;overflow:auto;word-wrap:normal;padding:1.45rem}table{font-size:1rem;line-height:1.45rem;border-collapse:collapse;width:100%}fieldset,table{padding:0;margin:0 0 1.45rem}blockquote{padding:0;margin:0 1.45rem 1.45rem}form,iframe,noscript{padding:0;margin:0 0 1.45rem}hr{padding:0;margin:0 0 calc(1.45rem - 1px);background:var(--icon-stroke);border:none;height:1px}address{padding:0;margin:0 0 1.45rem}b,dt,strong,th{font-weight:700}ol li,ul li{padding-left:0}li>ol,li>ul{margin-left:1.45rem;margin-bottom:.725rem;margin-top:.725rem}blockquote :last-child,li :last-child,p :last-child{margin-bottom:0}li>p{margin-bottom:.725rem}code,kbd,samp{font-size:.85rem;line-height:1.45rem}abbr,abbr[title],acronym{border-bottom:1px dotted rgba(0,0,0,.5);cursor:help}abbr[title]{text-decoration:none}td,th,thead{text-align:left}td,th{border-bottom:1px solid rgba(0,0,0,.12);font-feature-settings:"tnum";-moz-font-feature-settings:"tnum";-ms-font-feature-settings:"tnum";-webkit-font-feature-settings:"tnum";padding:.725rem .96667rem calc(.725rem - 1px)}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}code,tt{background-color:var(--icon-tertiary);display:inline-block;border-radius:4px;font-family:SFMono-Regular,Consolas,Roboto Mono,Droid Sans Mono,Liberation Mono,Menlo,Courier,monospace;padding:5px 10px}pre code{line-height:1.42;white-space:pre-wrap;padding:0}code:after,code:before,tt:after,tt:before{letter-spacing:-.2em;content:" "}pre code:after,pre code:before,pre tt:after,pre tt:before{content:""}@media only screen and (max-width:480px){html{font-size:100%}}.mt-0{margin-top:-50px}.my-masonry-grid{display:flex;width:auto}@page{size:A4;margin:25px;padding:0}@page :header{color:#fff}@media print{body,html{width:210mm;height:297mm}}</style><meta name="generator" content="Gatsby 2.8.1"/><title data-react-helmet="true">সি++ | ডেভ সংকেত</title><meta data-react-helmet="true" name="description" content="সি প্লাস প্লাস প্রোগ্রামিং এর চিটশিট"/><meta data-react-helmet="true" property="og:title" content="সি++"/><meta data-react-helmet="true" property="og:description" content="সি প্লাস প্লাস প্রোগ্রামিং এর চিটশিট"/><meta data-react-helmet="true" property="og:type" content="website"/><meta data-react-helmet="true" property="og:image" content="https://www.devsonket.com/static/thumbnail/cpp-programming.jpg"/><meta data-react-helmet="true" property="og:image:secure_url" content="https://www.devsonket.com/static/thumbnail/cpp-programming.jpg"/><meta data-react-helmet="true" property="og:image:width" content="1200"/><meta data-react-helmet="true" property="og:image:height" content="630"/><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"/><meta data-react-helmet="true" name="twitter:site" content="@devsonket"/><meta data-react-helmet="true" name="twitter:creator" content="devsonket"/><meta data-react-helmet="true" name="twitter:title" content="সি++"/><meta data-react-helmet="true" name="twitter:description" content="সি প্লাস প্লাস প্রোগ্রামিং এর চিটশিট"/><meta data-react-helmet="true" name="twitter:image" content="https://www.devsonket.com/static/thumbnail/cpp-programming.jpg"/><link rel="shortcut icon" href="/icons/icon-48x48.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="manifest" href="/manifest.webmanifest"/><meta name="theme-color" content="#333"/><link rel="apple-touch-icon" sizes="48x48" href="/icons/icon-48x48.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="256x256" href="/icons/icon-256x256.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png?v=9eed5a0b39c100e928b6d90aae3b45dc"/><link rel="sitemap" type="application/xml" href="/sitemap.xml"/><link as="script" rel="preload" href="/component---src-templates-cheat-sheet-js-f1959dce7941b990e009.js"/><link as="script" rel="preload" href="/app-7c74b4a318b6b134fa72.js"/><link as="script" rel="preload" href="/styles-7b984eeda2708b47f42d.js"/><link as="script" rel="preload" href="/3-8155e5cbac125ef88883.js"/><link as="script" rel="preload" href="/2-8af5a49cde030f3c37f9.js"/><link as="script" rel="preload" href="/0-511f5b51f675dc5d198c.js"/><link as="script" rel="preload" href="/webpack-runtime-38606abf7adb09f7bc40.js"/><link as="fetch" rel="preload" href="/static/d/293/path---cpp-programming-cb-2-e73-h27ipRqmrEVmav81ypKCt8hHeHQ.json" crossorigin="use-credentials"/></head><body><noscript id="gatsby-noscript">This app works best with JavaScript enabled.</noscript><div id="___gatsby"><div style="outline:none" tabindex="-1" role="group"><div><style data-emotion-css="1uabqh6">.css-1uabqh6{background:#000;}</style><div class="css-1uabqh6"><style data-emotion-css="1alitl9">.css-1alitl9{margin:0 auto;padding:0 25px;max-width:1260px;}@media (min-width:480px){.css-1alitl9{padding:0 25px;}}</style><div class="css-1alitl9"><style data-emotion-css="c9zkc5">.css-c9zkc5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:25px 0;}</style><div class="css-c9zkc5"><div><style data-emotion-css="18oz7wx">.css-18oz7wx{-webkit-text-decoration:none;text-decoration:none;font-size:26px;color:var(--accentwhite);font-weight:800;}@media only screen and (max-width:460px){.css-18oz7wx{display:block;text-align:center;}}.css-18oz7wx span{background-color:var(--accentwhite);color:#000;padding:0 8px;border-radius:4px;margin-right:5px;}</style><a islightcolor="true" colorpref="#000" class="css-18oz7wx" href="/"><span>ডেভ</span>সংকেত</a></div><style data-emotion-css="8h4fiy">.css-8h4fiy{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;}.css-8h4fiy li{margin-left:15px;font-weight:bolder;}.css-8h4fiy li a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-text-decoration:none;text-decoration:none;color:var(--accentlight);}.css-8h4fiy li a svg{margin-right:5px;}@media (max-width:480px){.css-8h4fiy li a span{display:none;}}</style><ul class="css-8h4fiy"><li><a target="__blank" rel="noopener noreferrer" href="https://github.com/devsonket/devsonket.github.io/blob/develop/data/cpp.json"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></svg> <span>এডিট করুন</span></a></li><li><a target="__blank" rel="noopener noreferrer" href="https://github.com/devsonket/devsonket.github.io"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg> <span>স্টার দিন</span></a></li></ul></div><style data-emotion-css="141lx0u">.css-141lx0u{padding:0 100px;}@media (max-width:991px){.css-141lx0u{padding:0 50px;}}@media (max-width:768px){.css-141lx0u{padding:0 25px;}}@media (max-width:480px){.css-141lx0u{padding:0 0;}}</style><div class="css-141lx0u"><div class="css-141lx0u"><style data-emotion-css="f2mchw">.css-f2mchw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:100px 0;padding-bottom:140px;}.css-f2mchw .print-btn a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-weight:800;-webkit-text-decoration:none;text-decoration:none;background:var(--accentlight);color:var(--accentdark);padding:5px 15px;font-weight:400;border-radius:8px;}.css-f2mchw .print-btn a svg{margin-right:5px;}</style><div class="css-f2mchw"><style data-emotion-css="1mswvtd">.css-1mswvtd{text-align:center;}.css-1mswvtd h1{margin:0;font-size:72px;color:var(--accentwhite);}@media (max-width:768px){.css-1mswvtd h1{font-size:42px;}}.css-1mswvtd p{font-size:22px;color:var(--accentwhite);}@media (max-width:768px){.css-1mswvtd p{font-size:18px;}}</style><div class="css-1mswvtd"><h1>সি++</h1><p>সি প্লাস প্লাস প্রোগ্রামিং এর চিটশিট</p></div><style data-emotion-css="sh7ee3">.css-sh7ee3{margin-top:25px;text-align:center;}.css-sh7ee3 h4{font-size:18px;font-weight:bold;margin-bottom:10px;color:var(--accentlight);}.css-sh7ee3 ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;}.css-sh7ee3 ul li{height:40px;width:40px;margin:5px;border-radius:8px;}.css-sh7ee3 ul li img{border:solid 3px var(--accenthighlight);border-radius:8px;}</style><div class="no-print css-sh7ee3"><h4>কন্ট্রিবিউটর</h4><ul><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/jinnatul"><img alt="jinnatul" src="https://avatars2.githubusercontent.com/u/31995155?v=4"/></a></div></li><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/farhancdr"><img alt="farhancdr" src="https://avatars1.githubusercontent.com/u/54210540?v=4"/></a></div></li><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/dibakarsutradhar"><img alt="dibakarsutradhar" src="https://avatars0.githubusercontent.com/u/12207794?v=4"/></a></div></li><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/jabertuhin"><img alt="jabertuhin" src="https://avatars2.githubusercontent.com/u/22750032?v=4"/></a></div></li><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/arif98741"><img alt="arif98741" src="https://avatars3.githubusercontent.com/u/17213478?v=4"/></a></div></li><li><div class="contributor-profile"><a rel="noopener noreferrer" target="_blank" href="https://github.com/zonayedpca"><img alt="zonayedpca" src="https://avatars3.githubusercontent.com/u/18544717?v=4"/></a></div></li></ul></div><style data-emotion-css="jjw45h">.css-jjw45h{margin:25px 0;text-align:center;}.css-jjw45h h4{font-size:18px;margin-bottom:10px;color:var(--accentlight);}.css-jjw45h ul{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;}.css-jjw45h ul li{margin:0 5px;}.css-jjw45h ul li a,.css-jjw45h ul li span{cursor:pointer;display:inline-block;background:var(--accentlight);color:var(--accentdark);line-height:36px;width:30px;height:30px;border-radius:8px;-webkit-text-decoration:none;text-decoration:none;}</style><div class="css-jjw45h"><h4>শেয়ার করুন</h4><ul><li><a target="__blank" rel="noopener noreferrer" href="https://www.facebook.com/sharer/sharer.php?u=https://www.devsonket.com/cpp-programming"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg></a></li><li><a target="__blank" rel="noopener noreferrer" href="https://twitter.com/intent/tweet?url=https://www.devsonket.com/cpp-programming&text=সি প্লাস প্লাস প্রোগ্রামিং এর চিটশিট"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg></a></li><li><span><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></span></li></ul></div><p class="print-btn"><a target="__blank" rel="noopener noreferrer" href="/print/cpp-programming"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect></svg> প্রিন্ট করুন</a></p></div></div></div></div></div><style data-emotion-css="1uabqh6">.css-1uabqh6{background:#000;}</style><div class="css-1uabqh6"><style data-emotion-css="1qmwx2r">.css-1qmwx2r{background:var(--accentlight);border-radius:30px;border-bottom-left-radius:0;border-bottom-right-radius:0;}</style><div color="var(--accentlight)" class="css-1qmwx2r"><style data-emotion-css="1248tdr">.css-1248tdr{padding:100px 0;}@media (max-width:768px){.css-1248tdr{padding:50px 0;}}</style><div class="css-1248tdr"><style data-emotion-css="141lx0u">.css-141lx0u{padding:0 100px;}@media (max-width:991px){.css-141lx0u{padding:0 50px;}}@media (max-width:768px){.css-141lx0u{padding:0 25px;}}@media (max-width:480px){.css-141lx0u{padding:0 0;}}</style><div class="css-141lx0u"><style data-emotion-css="hhbh2r">.css-hhbh2r .my-masonry-grid_column:first-of-type{margin-right:15px;}.css-hhbh2r .my-masonry-grid_column:last-of-type{margin-left:15px;}</style><div class="my-masonry-grid css-hhbh2r"><div style="width:50%" class="my-masonry-grid_column"><style data-emotion-css="tcsorc">.css-tcsorc h3{font-size:20px;margin-bottom:15px;}@media print{.css-tcsorc h3{color:#000;}}.css-tcsorc:hover a{opacity:0.85;}.css-tcsorc .single-item{background-color:#fff;margin-bottom:25px;border-radius:4px;box-shadow:0 6px 8px rgba(0,0,0,0.03),0 1px 2px rgba(0,0,0,0.3);}@media print{.css-tcsorc .single-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0;box-shadow:none;}}.css-tcsorc .single-item .item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 20px;border-bottom:solid 1px var(--accentaction);}.css-tcsorc .single-item .item:nth-of-type(even){background:var(--accentlight);}@media print{.css-tcsorc .single-item .item{margin:0 5px;padding-bottom:0px;-webkit-flex:2 2 calc(50% - 10px);-ms-flex:2 2 calc(50% - 10px);flex:2 2 calc(50% - 10px);border:none;}}.css-tcsorc .single-item .item:last-child{margin-bottom:0;border-bottom:none;}.css-tcsorc .single-item .def{-webkit-flex:1 1 50%;-ms-flex:1 1 50%;flex:1 1 50%;padding:5px;}.css-tcsorc .single-item .def a{color:#000;}.css-tcsorc .single-item .code,.css-tcsorc .single-item p{margin-bottom:0;}.css-tcsorc .single-item pre{padding:5px;background-color:transparent;color:#1565c0;}@media only screen and (max-width:940px){.css-tcsorc pre.code{overflow-y:hidden;white-space:pre-wrap;overflow:hidden;word-wrap:break-word;}}</style><div id="ইনপুট/আউটপুট ফান্ডামেন্টালস" class="css-tcsorc"><style data-emotion-css="1t5rsib">.css-1t5rsib{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}.css-1t5rsib a{-webkit-text-decoration:none;text-decoration:none;color:var(--accentdark);font-weight:900;text-transform:uppercase;font-size:13px;padding:1px 10px;border-radius:4px;margin-bottom:15px;opacity:0;}</style><div class="sheet-title css-1t5rsib"><h3>ইনপুট/আউটপুট ফান্ডামেন্টালস</h3><a href="cpp-programming#ইনপুট/আউটপুট ফান্ডামেন্টালস"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">ইনপুট/আউটপুট স্ট্যান্ডার্ড লাইব্রেরি ব্যবহার করার জন্য হেডার ফাইল</p><pre class="code"><code>#include <iostream></code></pre></li><li class="item"><p class="def">কনসোলে আউটপুট দেখানো</p><pre class="code"><code>cout <<</code></pre></li><li class="item"><p class="def">কনসোলে এরোর দেখানো</p><pre class="code"><code>cerr <<</code></pre></li><li class="item"><p class="def">কনসোলে লগ দেখানো</p><pre class="code"><code>clog <<</code></pre></li><li class="item"><p class="def">কনসোল থেকে ইনপুট নেয়া</p><pre class="code"><code>cin >></code></pre></li></ul></div><div id="ফাইল স্ট্রিমস" class="css-tcsorc"><div class="sheet-title css-1t5rsib"><h3>ফাইল স্ট্রিমস</h3><a href="cpp-programming#ফাইল স্ট্রিমস"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">ইনপুট/আউটপুট ফাইল স্ট্রিমস এর হেডার কোড</p><pre class="code"><code>#include <fstream></code></pre></li><li class="item"><p class="def">ফাইলে লিখার জন্য</p><pre class="code"><code>ofstream myFile</code></pre></li><li class="item"><p class="def">ফাইল থেকে পড়ার জন্য</p><pre class="code"><code>ifstream myFile</code></pre></li><li class="item"><p class="def">ফাইল ওপেন করা</p><pre class="code"><code>myFile.open (filename.txt(file format))</code></pre></li><li class="item"><p class="def">স্ট্রিম অবজেক্ট ব্যবহার করে ফাইল ওপেন করা </p><pre class="code"><code>open (filename, mode)</code></pre></li><li class="item"><p class="def">ইনপুট অপারেশন হিসেবে ফাইল ওপেন করা</p><pre class="code"><code>ios::in</code></pre></li><li class="item"><p class="def">আউটপুট অপারেশন হিসেবে ফাইল ওপেন করা</p><pre class="code"><code>ios::out</code></pre></li><li class="item"><p class="def">বাইনারি মুডে ফাইল ওপেন করা</p><pre class="code"><code>ios::binary</code></pre></li><li class="item"><p class="def">ইনিশিয়াল পসিশন ফাইলের শেষভাগে সেট করা</p><pre class="code"><code>ios::ate</code></pre></li><li class="item"><p class="def">ফাইলের শেষভাগে সকল অপারেশন পারফর্ম করার জন্য</p><pre class="code"><code>ios::app</code></pre></li><li class="item"><p class="def">ফাইলের আগের কনটেন্ট ডিলিট করে নতুন কনটেন্ট দিয়ে রিপ্লেস করার জন্য</p><pre class="code"><code>ios::trunc</code></pre></li><li class="item"><p class="def">ফাইল ক্লোস করার জন্য</p><pre class="code"><code>myFile.close()</code></pre></li><li class="item"><p class="def">ফাইল ওপেন আছে কিনা তা চেক করার জন্য</p><pre class="code"><code>myFile.is_open()</code></pre></li></ul></div><div id="ইটেরেটরস" class="css-tcsorc"><div class="sheet-title css-1t5rsib"><h3>ইটেরেটরস</h3><a href="cpp-programming#ইটেরেটরস"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">ইটেরটর ইনপুট/আউটপুট স্ট্রিম ডিক্লেয়ার করা</p><pre class="code"><code>#include <iterator></code></pre></li><li class="item"><p class="def">ইনপুট স্ট্রিম থেকে ভ্যালু নিয়ে ইনপুট ইটেরেটর ডিফাইন করা</p><pre class="code"><code>istream_iterator<T> in(is);</code></pre></li><li class="item"><p class="def">আউটপুট ইটেরেটর ডিফাইন করা</p><pre class="code"><code>ostream_iterator<T> out(os);</code></pre></li></ul></div></div><div style="width:50%" class="my-masonry-grid_column"><div id="প্রিপ্রসেসর" class="css-tcsorc"><div class="sheet-title css-1t5rsib"><h3>প্রিপ্রসেসর</h3><a href="cpp-programming#প্রিপ্রসেসর"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">বর্তমান ডিরেক্টরিতে ফাইল যুক্ত করা</p><pre class="code"><code>#include "myfile.h"</code></pre></li><li class="item"><p class="def">X কে some_text দিয়ে রিপ্লেস করা</p><pre class="code"><code>#define X some_text</code></pre></li><li class="item"><p class="def">F(a,b) কে a+b দ্বারা রিপ্লেস করা</p><pre class="code"><code>#define F(a,b) a+b</code></pre></li><li class="item"><p class="def">ডিফিনেশন রিমুভ করা</p><pre class="code"><code>#undef X</code></pre></li><li class="item"><p class="def">কন্ডিশনাল কম্পাইলেশন (#if defined(X))</p><pre class="code"><code>#ifdef X</code></pre></li><li class="item"><p class="def">কন্ডিশনাল কম্পাইলেশন (#if !defined(X))</p><pre class="code"><code>#ifndef X</code></pre></li><li class="item"><p class="def">কন্ডিশনাল কম্পাইলেশন</p><pre class="code"><code>#else</code></pre></li><li class="item"><p class="def">#if এবং #ifdef এর পর কন্ডিশন সমাপ্তি করার জন্য</p><pre class="code"><code>#endif</code></pre></li></ul></div><div id="এক্সপ্রেশন" class="css-tcsorc"><div class="sheet-title css-1t5rsib"><h3>এক্সপ্রেশন</h3><a href="cpp-programming#এক্সপ্রেশন"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">T ক্লাশে X নেইম ডিফাইন করা</p><pre class="code"><code>T::X</code></pre></li><li class="item"><p class="def">N নেইমস্পেসে X নেইম ডিফাইন করা</p><pre class="code"><code>N::X</code></pre></li><li class="item"><p class="def">গ্লোবাল নেইম X</p><pre class="code"><code>::X</code></pre></li><li class="item"><p class="def">t ক্লাস অথবা স্ট্র্যাক্ট এর x মেম্বার</p><pre class="code"><code>t.x</code></pre></li><li class="item"><p class="def">ক্লাস অথবা স্ট্র্যাক্ট এর x মেম্বারকে p দ্বারা পয়েন্ট করা</p><pre class="code"><code>p->x</code></pre></li><li class="item"><p class="def">a অ্যারের i ইলিমেন্ট</p><pre class="code"><code>a[i]</code></pre></li><li class="item"><p class="def">x,y আর্গুমেন্ট সহ f ফাংশনকে কল করা</p><pre class="code"><code>f(x,y)</code></pre></li><li class="item"><p class="def">x এবং y সহ T ক্লাশের অবজেক্টকে ইনশিয়ালাইজ করা</p><pre class="code"><code>T(x,y)</code></pre></li><li class="item"><p class="def">x টাইপ</p><pre class="code"><code>typeid(x)</code></pre></li><li class="item"><p class="def">x কে T তে কনভার্ট করে এবং রানটাইমে চেক করে</p><pre class="code"><code>dynamic_cast<T>(x)</code></pre></li><li class="item"><p class="def">x কে T তে কনভার্ট করে কিন্তু কোনো চেক করা ছাড়াই</p><pre class="code"><code>static_cast<T>(x)</code></pre></li><li class="item"><p class="def">T হিসেবে x এর বিটগুলোকে ইন্ট্যারপ্রেট করা</p><pre class="code"><code>reinterpret_cast<T>(x)</code></pre></li><li class="item"><p class="def">x কে T এর সেইম টাইপে কনভার্ট করা</p><pre class="code"><code>const_cast<T>(x)</code></pre></li><li class="item"><p class="def">অবজেক্ট x কে রিপ্রেসেন্ট করতে ব্যবহৃত বাইটের সংখ্যা দেখা</p><pre class="code"><code>sizeof x</code></pre></li><li class="item"><p class="def">টাইপ T কে রিপ্রেসেন্ট করতে ব্যবহৃত বাইটের সংখ্যা দেখা</p><pre class="code"><code>sizeof(T)</code></pre></li><li class="item"><p class="def">p এড্রেসের কন্টেন্ট</p><pre class="code"><code>*p</code></pre></li><li class="item"><p class="def">নতুন এলোকেট করা T অবজেক্টের এড্রেস</p><pre class="code"><code>new T</code></pre></li><li class="item"><p class="def">x এবং y ইনিশিয়ালাইজ করা T অবজেক্টের এড্রেস</p><pre class="code"><code>new T(x,y)</code></pre></li><li class="item"><p class="def">p এড্রেসে থাকা অবজেক্টকে ধ্বংস করা এবং জায়গা খালি করা</p><pre class="code"><code>delete p</code></pre></li><li class="item"><p class="def">p এড্রেসে থাকা অবজেক্টের অ্যারেকে ধ্বংস করা এবং জায়গা খালি করা</p><pre class="code"><code>delete[] p</code></pre></li></ul></div><div id="গাণিতিক লাইব্রেরি ফাংশন সমূহ" class="css-tcsorc"><div class="sheet-title css-1t5rsib"><h3>গাণিতিক লাইব্রেরি ফাংশন সমূহ</h3><a href="cpp-programming#গাণিতিক লাইব্রেরি ফাংশন সমূহ"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></a></div><ul class="single-item"><li class="item"><p class="def">দুটি সংখ্যার মধ্যে বড় সংখ্যা টি বের করা</p><pre class="code"><code>max(x, y);</code></pre></li><li class="item"><p class="def">দুটি সংখ্যার মধ্যে ছোট সংখ্যা টি বের করা</p><pre class="code"><code>min(x, y);</code></pre></li><li class="item"><p class="def">বর্গমুল বের করা</p><pre class="code"><code>sqrt(x);</code></pre></li><li class="item"><p class="def"> দশমিক সংখ্যাকে পুর্ণসংখ্যা করা</p><pre class="code"><code>round(x);</code></pre></li><li class="item"><p class="def">লগারিদম বের করা</p><pre class="code"><code>log(x);</code></pre></li><li class="item"><p class="def">পরম মান বের করা</p><pre class="code"><code>abs(x);</code></pre></li><li class="item"><p class="def">দশমিক সংখ্যাকে তার কাছাকাছি বড় পূর্ণসংখ্যা করা</p><pre class="code"><code>ceil(x);</code></pre></li><li class="item"><p class="def">দশমিক সংখ্যাকে থেকে দশমিক অংশটুকু বাদ দিয়ে পূর্ণসংখ্যা করা</p><pre class="code"><code>floor(x);</code></pre></li><li class="item"><p class="def">কোনো সংখ্যার(x) এর ঘাত (y) হলে তার মান বের করা</p><pre class="code"><code>pow(x, y);</code></pre></li></ul></div></div></div></div></div></div></div><style data-emotion-css="skvxkl">.css-skvxkl{background:var(--accentlight);text-align:center;}@media print{.css-skvxkl{visibility:hidden;}}</style><footer class="css-skvxkl"><style data-emotion-css="184s5y">.css-184s5y{background:var(--accentdark);border-radius:30px;border-bottom-left-radius:0;border-bottom-right-radius:0;}</style><div color="var(--accentdark)" class="css-184s5y"><style data-emotion-css="1alitl9">.css-1alitl9{margin:0 auto;padding:0 25px;max-width:1260px;}@media (min-width:480px){.css-1alitl9{padding:0 25px;}}</style><div class="css-1alitl9"><style data-emotion-css="1248tdr">.css-1248tdr{padding:100px 0;}@media (max-width:768px){.css-1248tdr{padding:50px 0;}}</style><div class="css-1248tdr"><style data-emotion-css="ntmhur">.css-ntmhur{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;color:#fff;text-align:left;}@media (max-width:991px){.css-ntmhur{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}}.css-ntmhur > div{-webkit-flex:1;-ms-flex:1;flex:1;margin:0 15px;}@media (max-width:480px){.css-ntmhur > div{-webkit-flex:1 1 100%;-ms-flex:1 1 100%;flex:1 1 100%;margin:0;margin-bottom:15px;text-align:center;}.css-ntmhur > div ul{list-style:none;margin-left:0 !important;}}@media (max-width:991px){.css-ntmhur > div:nth-of-type(2n + 2){margin-left:0;}}.css-ntmhur > div:first-of-type{margin-left:0;}@media (max-width:991px){.css-ntmhur > div:first-of-type{-webkit-flex:1 1 100%;-ms-flex:1 1 100%;flex:1 1 100%;margin-bottom:15px;}}.css-ntmhur > div:last-of-type{margin-right:0;}.css-ntmhur > div ul{margin-left:20px;}.css-ntmhur > div ul li a{position:relative;color:#fff;-webkit-text-decoration:none;text-decoration:none;}.css-ntmhur > div ul li a:after{position:absolute;content:"";width:100%;height:2px;bottom:3px;left:0;background:#fff;}</style><div class="css-ntmhur"><div><h3>ডেভসংকেত সম্পর্কে</h3><p>ডেভসংকেত এর লক্ষ্য হচ্ছে বাংলাতে একটা বড় চিটশিটের ভান্ডার গড়ে তোলা। এটা সম্পূর্ণ স্বাধীন এবং ওপেন সোর্স গিটহাব অর্গানাইজেশন।</p></div><div><h3>কমিউনিটি</h3><ul><li><a target="__blank" rel="noopener noreferrer" href="https://www.facebook.com/devsonket">ফেইসবুক পেইজ</a></li><li><a target="__blank" rel="noopener noreferrer" href="https://www.facebook.com/groups/devsonket">ফেইসবুক গ্রুপ</a></li><li><a target="__blank" rel="noopener noreferrer" href="https://github.com/devsonket/devsonket.github.io">গিটহাব প্রোজেক্ট</a></li><li><a target="__blank" rel="noopener noreferrer" href="https://github.com/devsonket/devsonket.github.io/issues">গিটহাব ইস্যু</a></li></ul></div><div><h3>গুরুত্বপূর্ণ লিঙ্ক</h3><ul><li><a target="__blank" rel="noopener noreferrer" href="https://medium.com/%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82-%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE">প্রোগ্রামিং পাতা</a></li><li><a target="__blank" rel="noopener noreferrer" href="https://github.com/me-shaon/bangla-programming-resources">বাংলায় প্রোগ্রামিং রিসোর্স</a></li></ul></div><div><h3>স্পন্সর</h3><ul><li>ডোমেইন -<!-- --> <a target="__blank" rel="noopener noreferrer" href="https://github.com/NaSabbir">Nazir Ahmed Sabbir</a></li></ul></div></div></div></div></div></footer></div></div></div><script id="gatsby-script-loader">/*<![CDATA[*/window.page={"componentChunkName":"component---src-templates-cheat-sheet-js","jsonName":"cpp-programming-cb2","path":"/cpp-programming/"};window.dataPath="293/path---cpp-programming-cb-2-e73-h27ipRqmrEVmav81ypKCt8hHeHQ";/*]]>*/</script><script id="gatsby-chunk-mapping">/*<![CDATA[*/window.___chunkMapping={"app":["/app-7c74b4a318b6b134fa72.js"],"component---src-templates-cheat-sheet-js":["/component---src-templates-cheat-sheet-js-f1959dce7941b990e009.js"],"component---src-templates-print-sheet-js":["/component---src-templates-print-sheet-js-ae7bc0bc21f59dfd23e7.js"],"component---src-pages-404-js":["/component---src-pages-404-js-c7f9f705282aa14e51ae.js"],"component---src-pages-index-js":["/component---src-pages-index-js-05ab7d3ee31faebcd38d.js"],"pages-manifest":["/pages-manifest-16cef3c3769cfc74531a.js"]};/*]]>*/</script><script src="/webpack-runtime-38606abf7adb09f7bc40.js" async=""></script><script src="/0-511f5b51f675dc5d198c.js" async=""></script><script src="/2-8af5a49cde030f3c37f9.js" async=""></script><script src="/3-8155e5cbac125ef88883.js" async=""></script><script src="/styles-7b984eeda2708b47f42d.js" async=""></script><script src="/app-7c74b4a318b6b134fa72.js" async=""></script><script src="/component---src-templates-cheat-sheet-js-f1959dce7941b990e009.js" async=""></script></body></html>
You can’t perform that action at this time.
