CINXE.COM
C++ - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="nl" dir="ltr"> <head> <meta charset="UTF-8"> <title>C++ - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )nlwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t.",".\t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],"wgRequestId":"cf7c5435-7794-44f1-9f9a-faf55a705b90","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"C++","wgTitle":"C++","wgCurRevisionId":68410820,"wgRevisionId":68410820,"wgArticleId":1466,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["C++"],"wgPageViewLanguage":"nl","wgPageContentLanguage":"nl","wgPageContentModel":"wikitext","wgRelevantPageName":"C++","wgRelevantArticleId":1466,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"nl","pageLanguageDir":"ltr", "pageVariantFallbacks":"nl"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q2407","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready", "skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Direct-link-to-Commons","ext.gadget.ProtectionTemplates","ext.gadget.InterProjectLinks","ext.gadget.hoofdbetekenis-titelwijziging","ext.gadget.switcher","ext.gadget.OpenStreetMapFrame","ext.gadget.subpages","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging", "ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=nl&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=nl&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=nl&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/1200px-ISO_C%2B%2B_Logo.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1349"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/800px-ISO_C%2B%2B_Logo.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="899"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/640px-ISO_C%2B%2B_Logo.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="719"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="C++ - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//nl.m.wikipedia.org/wiki/C%2B%2B"> <link rel="alternate" type="application/x-wiki" title="Bewerken" href="/w/index.php?title=C%2B%2B&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (nl)"> <link rel="EditURI" type="application/rsd+xml" href="//nl.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://nl.wikipedia.org/wiki/C%2B%2B"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.nl"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom-feed" href="/w/index.php?title=Speciaal:RecenteWijzigingen&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-C rootpage-C skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Naar inhoud springen</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Hoofdmenu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Hoofdmenu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Hoofdmenu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">verbergen</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigatie </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Hoofdpagina" title="Naar de hoofdpagina gaan [z]" accesskey="z"><span>Hoofdpagina</span></a></li><li id="n-zoekartikel" class="mw-list-item"><a href="/wiki/Portaal:Navigatie"><span>Vind een artikel</span></a></li><li id="n-today" class="mw-list-item"><a href="/wiki/28_november"><span>Vandaag</span></a></li><li id="n-Etalage" class="mw-list-item"><a href="/wiki/Wikipedia:Etalage"><span>Etalage</span></a></li><li id="n-categories" class="mw-list-item"><a href="/wiki/Categorie:Alles"><span>Categorieën</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Speciaal:RecenteWijzigingen" title="Een lijst met recente wijzigingen in deze wiki. [r]" accesskey="r"><span>Recente wijzigingen</span></a></li><li id="n-newpages" class="mw-list-item"><a href="/wiki/Speciaal:NieuwePaginas"><span>Nieuwe artikelen</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Speciaal:Willekeurig" title="Een willekeurige pagina bekijken [x]" accesskey="x"><span>Willekeurige pagina</span></a></li> </ul> </div> </div> <div id="p-navigation2" class="vector-menu mw-portlet mw-portlet-navigation2" > <div class="vector-menu-heading"> Informatie </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Portaal:Gebruikersportaal" title="Informatie over het project: wat u kunt doen, waar u dingen kunt vinden"><span>Gebruikersportaal</span></a></li><li id="n-Snelcursus" class="mw-list-item"><a href="/wiki/Wikipedia:Snelcursus"><span>Snelcursus</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Portaal:Hulp_en_beheer" title="Hulpinformatie over deze wiki"><span>Hulp en contact</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Hoofdpagina" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="de vrije encyclopedie" src="/static/images/mobile/copyright/wikipedia-tagline-nl.svg" width="120" height="13" style="width: 7.5em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Speciaal:Zoeken" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Doorzoek Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Zoeken</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Doorzoek Wikipedia" aria-label="Doorzoek Wikipedia" autocapitalize="sentences" title="Doorzoek Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Speciaal:Zoeken"> </div> <button class="cdx-button cdx-search-input__end-button">Zoeken</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Persoonlijke hulpmiddelen"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Uiterlijk"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="De lettergrootte, breedte en kleur van de pagina wijzigen" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Uiterlijk" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Uiterlijk</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_nl.wikipedia.org&uselang=nl" class=""><span>Doneren</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciaal:GebruikerAanmaken&returnto=C%2B%2B" title="Registreer u vooral en meld u aan. Dit is echter niet verplicht." class=""><span>Account aanmaken</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciaal:Aanmelden&returnto=C%2B%2B" title="U wordt van harte uitgenodigd om aan te melden, maar dit is niet verplicht [o]" accesskey="o" class=""><span>Aanmelden</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Meer opties" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Persoonlijke hulpmiddelen" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Persoonlijke hulpmiddelen</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Gebruikersmenu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_nl.wikipedia.org&uselang=nl"><span>Doneren</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciaal:GebruikerAanmaken&returnto=C%2B%2B" title="Registreer u vooral en meld u aan. Dit is echter niet verplicht."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Account aanmaken</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciaal:Aanmelden&returnto=C%2B%2B" title="U wordt van harte uitgenodigd om aan te melden, maar dit is niet verplicht [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Aanmelden</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pagina's voor uitgelogde redacteuren <a href="/wiki/Help:Inleiding" aria-label="Meer leren over bewerken"><span>meer lezen</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Speciaal:MijnBijdragen" title="Bijdragen IP-adres [y]" accesskey="y"><span>Bijdragen</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Speciaal:MijnOverleg" title="Overlegpagina van de anonieme gebruiker van dit IP-adres [n]" accesskey="n"><span>Overleg</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Inhoud" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Inhoud</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">verbergen</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Top</div> </a> </li> <li id="toc-Geschiedenis" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Geschiedenis"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Geschiedenis</span> </div> </a> <ul id="toc-Geschiedenis-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Kenmerken" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Kenmerken"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Kenmerken</span> </div> </a> <button aria-controls="toc-Kenmerken-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Kenmerken-subkopje inklappen</span> </button> <ul id="toc-Kenmerken-sublist" class="vector-toc-list"> <li id="toc-Objectgeoriënteerd" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Objectgeoriënteerd"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Objectgeoriënteerd</span> </div> </a> <ul id="toc-Objectgeoriënteerd-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Templates" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Templates"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Templates</span> </div> </a> <ul id="toc-Templates-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Andere_uitbreidingen_ten_opzichte_van_C" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Andere_uitbreidingen_ten_opzichte_van_C"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Andere uitbreidingen ten opzichte van C</span> </div> </a> <ul id="toc-Andere_uitbreidingen_ten_opzichte_van_C-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-De_C++-standaardbibliotheek_en_STL" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#De_C++-standaardbibliotheek_en_STL"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>De C++-standaardbibliotheek en STL</span> </div> </a> <ul id="toc-De_C++-standaardbibliotheek_en_STL-sublist" class="vector-toc-list"> <li id="toc-Bekende_bibliotheken" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Bekende_bibliotheken"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4.1</span> <span>Bekende bibliotheken</span> </div> </a> <ul id="toc-Bekende_bibliotheken-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Geen_zuivere_superset_van_C" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Geen_zuivere_superset_van_C"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.5</span> <span>Geen zuivere superset van C</span> </div> </a> <ul id="toc-Geen_zuivere_superset_van_C-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Vergelijkbare_talen" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Vergelijkbare_talen"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.6</span> <span>Vergelijkbare talen</span> </div> </a> <ul id="toc-Vergelijkbare_talen-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Implementatie" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Implementatie"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Implementatie</span> </div> </a> <button aria-controls="toc-Implementatie-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Implementatie-subkopje inklappen</span> </button> <ul id="toc-Implementatie-sublist" class="vector-toc-list"> <li id="toc-Compilers" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Compilers"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Compilers</span> </div> </a> <ul id="toc-Compilers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-IDE's" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#IDE's"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>IDE's</span> </div> </a> <ul id="toc-IDE's-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-C++-voorbeelden" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#C++-voorbeelden"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>C++-voorbeelden</span> </div> </a> <ul id="toc-C++-voorbeelden-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Zie_ook" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Zie_ook"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Zie ook</span> </div> </a> <ul id="toc-Zie_ook-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Voetnoten" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Voetnoten"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Voetnoten</span> </div> </a> <ul id="toc-Voetnoten-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Inhoud" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Inhoudsopgave omschakelen" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Inhoudsopgave omschakelen</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">C++</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Ga naar een artikel in een andere taal. Beschikbaar in 109 talen" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-109" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">109 talen</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/C%2B%2B" title="C++ – Afrikaans" lang="af" hreflang="af" data-title="C++" data-language-autonym="Afrikaans" data-language-local-name="Afrikaans" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/C%2B%2B" title="C++ – Aragonees" lang="an" hreflang="an" data-title="C++" data-language-autonym="Aragonés" data-language-local-name="Aragonees" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%B3%D9%8A%2B%2B" title="سي++ – Arabisch" lang="ar" hreflang="ar" data-title="سي++" data-language-autonym="العربية" data-language-local-name="Arabisch" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-arz mw-list-item"><a href="https://arz.wikipedia.org/wiki/%D8%B3%D9%89%2B%2B" title="سى++ – Egyptisch Arabisch" lang="arz" hreflang="arz" data-title="سى++" data-language-autonym="مصرى" data-language-local-name="Egyptisch Arabisch" class="interlanguage-link-target"><span>مصرى</span></a></li><li class="interlanguage-link interwiki-as mw-list-item"><a href="https://as.wikipedia.org/wiki/%E0%A6%9A%E0%A6%BF%2B%2B" title="চি++ – Assamees" lang="as" hreflang="as" data-title="চি++" data-language-autonym="অসমীয়া" data-language-local-name="Assamees" class="interlanguage-link-target"><span>অসমীয়া</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/C%2B%2B" title="C++ – Asturisch" lang="ast" hreflang="ast" data-title="C++" data-language-autonym="Asturianu" data-language-local-name="Asturisch" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/C%2B%2B" title="C++ – Azerbeidzjaans" lang="az" hreflang="az" data-title="C++" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbeidzjaans" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D8%B3%DB%8C%2B%2B" title="سی++ – South Azerbaijani" lang="azb" hreflang="azb" data-title="سی++" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-bat-smg mw-list-item"><a href="https://bat-smg.wikipedia.org/wiki/C%2B%2B" title="C++ – Samogitisch" lang="sgs" hreflang="sgs" data-title="C++" data-language-autonym="Žemaitėška" data-language-local-name="Samogitisch" class="interlanguage-link-target"><span>Žemaitėška</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/C%2B%2B" title="C++ – Belarussisch" lang="be" hreflang="be" data-title="C++" data-language-autonym="Беларуская" data-language-local-name="Belarussisch" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/C%2B%2B" title="C++ – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="C++" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/C%2B%2B" title="C++ – Bulgaars" lang="bg" hreflang="bg" data-title="C++" data-language-autonym="Български" data-language-local-name="Bulgaars" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%B8%E0%A6%BF%2B%2B" title="সি++ – Bengaals" lang="bn" hreflang="bn" data-title="সি++" data-language-autonym="বাংলা" data-language-local-name="Bengaals" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-bo mw-list-item"><a href="https://bo.wikipedia.org/wiki/C%2B" title="C+ – Tibetaans" lang="bo" hreflang="bo" data-title="C+" data-language-autonym="བོད་ཡིག" data-language-local-name="Tibetaans" class="interlanguage-link-target"><span>བོད་ཡིག</span></a></li><li class="interlanguage-link interwiki-br mw-list-item"><a href="https://br.wikipedia.org/wiki/C%2B%2B" title="C++ – Bretons" lang="br" hreflang="br" data-title="C++" data-language-autonym="Brezhoneg" data-language-local-name="Bretons" class="interlanguage-link-target"><span>Brezhoneg</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/C%2B%2B" title="C++ – Bosnisch" lang="bs" hreflang="bs" data-title="C++" data-language-autonym="Bosanski" data-language-local-name="Bosnisch" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-bug mw-list-item"><a href="https://bug.wikipedia.org/wiki/C%2B%2B" title="C++ – Buginees" lang="bug" hreflang="bug" data-title="C++" data-language-autonym="Basa Ugi" data-language-local-name="Buginees" class="interlanguage-link-target"><span>Basa Ugi</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/C%2B%2B" title="C++ – Catalaans" lang="ca" hreflang="ca" data-title="C++" data-language-autonym="Català" data-language-local-name="Catalaans" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D8%B3%DB%8C%2B%2B" title="سی++ – Soranî" lang="ckb" hreflang="ckb" data-title="سی++" data-language-autonym="کوردی" data-language-local-name="Soranî" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/C%2B%2B" title="C++ – Tsjechisch" lang="cs" hreflang="cs" data-title="C++" data-language-autonym="Čeština" data-language-local-name="Tsjechisch" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cv mw-list-item"><a href="https://cv.wikipedia.org/wiki/C%2B%2B" title="C++ – Tsjoevasjisch" lang="cv" hreflang="cv" data-title="C++" data-language-autonym="Чӑвашла" data-language-local-name="Tsjoevasjisch" class="interlanguage-link-target"><span>Чӑвашла</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/C%2B%2B" title="C++ – Deens" lang="da" hreflang="da" data-title="C++" data-language-autonym="Dansk" data-language-local-name="Deens" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/C%2B%2B" title="C++ – Duits" lang="de" hreflang="de" data-title="C++" data-language-autonym="Deutsch" data-language-local-name="Duits" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/C%2B%2B" title="C++ – Grieks" lang="el" hreflang="el" data-title="C++" data-language-autonym="Ελληνικά" data-language-local-name="Grieks" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/C%2B%2B" title="C++ – Engels" lang="en" hreflang="en" data-title="C++" data-language-autonym="English" data-language-local-name="Engels" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/C%2B%2B" title="C++ – Esperanto" lang="eo" hreflang="eo" data-title="C++" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/C%2B%2B" title="C++ – Spaans" lang="es" hreflang="es" data-title="C++" data-language-autonym="Español" data-language-local-name="Spaans" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/C%2B%2B" title="C++ – Estisch" lang="et" hreflang="et" data-title="C++" data-language-autonym="Eesti" data-language-local-name="Estisch" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/C%2B%2B" title="C++ – Baskisch" lang="eu" hreflang="eu" data-title="C++" data-language-autonym="Euskara" data-language-local-name="Baskisch" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/C%2B%2B" title="C++ – Perzisch" lang="fa" hreflang="fa" data-title="C++" data-language-autonym="فارسی" data-language-local-name="Perzisch" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/C%2B%2B" title="C++ – Fins" lang="fi" hreflang="fi" data-title="C++" data-language-autonym="Suomi" data-language-local-name="Fins" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fj mw-list-item"><a href="https://fj.wikipedia.org/wiki/C%2B%2B" title="C++ – Fijisch" lang="fj" hreflang="fj" data-title="C++" data-language-autonym="Na Vosa Vakaviti" data-language-local-name="Fijisch" class="interlanguage-link-target"><span>Na Vosa Vakaviti</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/C%2B%2B" title="C++ – Frans" lang="fr" hreflang="fr" data-title="C++" data-language-autonym="Français" data-language-local-name="Frans" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/C%2B%2B" title="C++ – Iers" lang="ga" hreflang="ga" data-title="C++" data-language-autonym="Gaeilge" data-language-local-name="Iers" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gan mw-list-item"><a href="https://gan.wikipedia.org/wiki/C%2B%2B" title="C++ – Ganyu" lang="gan" hreflang="gan" data-title="C++" data-language-autonym="贛語" data-language-local-name="Ganyu" class="interlanguage-link-target"><span>贛語</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/C%2B%2B" title="C++ – Galicisch" lang="gl" hreflang="gl" data-title="C++" data-language-autonym="Galego" data-language-local-name="Galicisch" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-gu mw-list-item"><a href="https://gu.wikipedia.org/wiki/C%2B%2B(%E0%AA%AA%E0%AB%8D%E0%AA%B0%E0%AB%8B%E0%AA%97%E0%AB%8D%E0%AA%B0%E0%AA%BE%E0%AA%AE%E0%AA%BF%E0%AA%82%E0%AA%97_%E0%AA%AD%E0%AA%BE%E0%AA%B7%E0%AA%BE)" title="C++(પ્રોગ્રામિંગ ભાષા) – Gujarati" lang="gu" hreflang="gu" data-title="C++(પ્રોગ્રામિંગ ભાષા)" data-language-autonym="ગુજરાતી" data-language-local-name="Gujarati" class="interlanguage-link-target"><span>ગુજરાતી</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/C%2B%2B" title="C++ – Hausa" lang="ha" hreflang="ha" data-title="C++" data-language-autonym="Hausa" data-language-local-name="Hausa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/C%2B%2B" title="C++ – Hebreeuws" lang="he" hreflang="he" data-title="C++" data-language-autonym="עברית" data-language-local-name="Hebreeuws" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80%2B%2B" title="सी++ – Hindi" lang="hi" hreflang="hi" data-title="सी++" data-language-autonym="हिन्दी" data-language-local-name="Hindi" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/C%2B%2B" title="C++ – Kroatisch" lang="hr" hreflang="hr" data-title="C++" data-language-autonym="Hrvatski" data-language-local-name="Kroatisch" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/C%2B%2B" title="C++ – Hongaars" lang="hu" hreflang="hu" data-title="C++" data-language-autonym="Magyar" data-language-local-name="Hongaars" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/C%2B%2B" title="C++ – Armeens" lang="hy" hreflang="hy" data-title="C++" data-language-autonym="Հայերեն" data-language-local-name="Armeens" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/C%2B%2B" title="C++ – Interlingua" lang="ia" hreflang="ia" data-title="C++" data-language-autonym="Interlingua" data-language-local-name="Interlingua" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/C%2B%2B" title="C++ – Indonesisch" lang="id" hreflang="id" data-title="C++" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesisch" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/C%2B%2B" title="C++ – Ido" lang="io" hreflang="io" data-title="C++" data-language-autonym="Ido" data-language-local-name="Ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/C%2B%2B" title="C++ – IJslands" lang="is" hreflang="is" data-title="C++" data-language-autonym="Íslenska" data-language-local-name="IJslands" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/C%2B%2B" title="C++ – Italiaans" lang="it" hreflang="it" data-title="C++" data-language-autonym="Italiano" data-language-local-name="Italiaans" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/C%2B%2B" title="C++ – Japans" lang="ja" hreflang="ja" data-title="C++" data-language-autonym="日本語" data-language-local-name="Japans" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-jv mw-list-item"><a href="https://jv.wikipedia.org/wiki/C%2B%2B" title="C++ – Javaans" lang="jv" hreflang="jv" data-title="C++" data-language-autonym="Jawa" data-language-local-name="Javaans" class="interlanguage-link-target"><span>Jawa</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/C%2B%2B" title="C++ – Georgisch" lang="ka" hreflang="ka" data-title="C++" data-language-autonym="ქართული" data-language-local-name="Georgisch" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kaa mw-list-item"><a href="https://kaa.wikipedia.org/wiki/C%2B%2B" title="C++ – Karakalpaks" lang="kaa" hreflang="kaa" data-title="C++" data-language-autonym="Qaraqalpaqsha" data-language-local-name="Karakalpaks" class="interlanguage-link-target"><span>Qaraqalpaqsha</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/C%2B%2B" title="C++ – Kazachs" lang="kk" hreflang="kk" data-title="C++" data-language-autonym="Қазақша" data-language-local-name="Kazachs" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%B8%E0%B2%BF%2B%2B" title="ಸಿ++ – Kannada" lang="kn" hreflang="kn" data-title="ಸಿ++" data-language-autonym="ಕನ್ನಡ" data-language-local-name="Kannada" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/C%2B%2B" title="C++ – Koreaans" lang="ko" hreflang="ko" data-title="C++" data-language-autonym="한국어" data-language-local-name="Koreaans" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/C%2B%2B" title="C++ – Kirgizisch" lang="ky" hreflang="ky" data-title="C++" data-language-autonym="Кыргызча" data-language-local-name="Kirgizisch" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/C%2B%2B" title="C++ – Latijn" lang="la" hreflang="la" data-title="C++" data-language-autonym="Latina" data-language-local-name="Latijn" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lb mw-list-item"><a href="https://lb.wikipedia.org/wiki/C%2B%2B" title="C++ – Luxemburgs" lang="lb" hreflang="lb" data-title="C++" data-language-autonym="Lëtzebuergesch" data-language-local-name="Luxemburgs" class="interlanguage-link-target"><span>Lëtzebuergesch</span></a></li><li class="interlanguage-link interwiki-lmo mw-list-item"><a href="https://lmo.wikipedia.org/wiki/C%2B%2B" title="C++ – Lombardisch" lang="lmo" hreflang="lmo" data-title="C++" data-language-autonym="Lombard" data-language-local-name="Lombardisch" class="interlanguage-link-target"><span>Lombard</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/C%2B%2B" title="C++ – Litouws" lang="lt" hreflang="lt" data-title="C++" data-language-autonym="Lietuvių" data-language-local-name="Litouws" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/C%2B%2B" title="C++ – Lets" lang="lv" hreflang="lv" data-title="C++" data-language-autonym="Latviešu" data-language-local-name="Lets" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-min mw-list-item"><a href="https://min.wikipedia.org/wiki/C%2B%2B" title="C++ – Minangkabau" lang="min" hreflang="min" data-title="C++" data-language-autonym="Minangkabau" data-language-local-name="Minangkabau" class="interlanguage-link-target"><span>Minangkabau</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/C%2B%2B" title="C++ – Macedonisch" lang="mk" hreflang="mk" data-title="C++" data-language-autonym="Македонски" data-language-local-name="Macedonisch" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%B8%E0%B4%BF%2B%2B" title="സി++ – Malayalam" lang="ml" hreflang="ml" data-title="സി++" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/C%2B%2B" title="C++ – Mongools" lang="mn" hreflang="mn" data-title="C++" data-language-autonym="Монгол" data-language-local-name="Mongools" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80_%E0%A4%AA%E0%A5%8D%E0%A4%B2%E0%A4%B8_%E0%A4%AA%E0%A5%8D%E0%A4%B2%E0%A4%B8_(%E0%A4%86%E0%A4%9C%E0%A5%8D%E0%A4%9E%E0%A4%BE%E0%A4%B5%E0%A4%B2%E0%A5%80_%E0%A4%AD%E0%A4%BE%E0%A4%B7%E0%A4%BE)" title="सी प्लस प्लस (आज्ञावली भाषा) – Marathi" lang="mr" hreflang="mr" data-title="सी प्लस प्लस (आज्ञावली भाषा)" data-language-autonym="मराठी" data-language-local-name="Marathi" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/C%2B%2B" title="C++ – Maleis" lang="ms" hreflang="ms" data-title="C++" data-language-autonym="Bahasa Melayu" data-language-local-name="Maleis" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-my mw-list-item"><a href="https://my.wikipedia.org/wiki/C%2B%2B" title="C++ – Birmaans" lang="my" hreflang="my" data-title="C++" data-language-autonym="မြန်မာဘာသာ" data-language-local-name="Birmaans" class="interlanguage-link-target"><span>မြန်မာဘာသာ</span></a></li><li class="interlanguage-link interwiki-new mw-list-item"><a href="https://new.wikipedia.org/wiki/%E0%A4%B8%E0%A5%80%2B%2B" title="सी++ – Newari" lang="new" hreflang="new" data-title="सी++" data-language-autonym="नेपाल भाषा" data-language-local-name="Newari" class="interlanguage-link-target"><span>नेपाल भाषा</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/C%2B%2B" title="C++ – Noors - Nynorsk" lang="nn" hreflang="nn" data-title="C++" data-language-autonym="Norsk nynorsk" data-language-local-name="Noors - Nynorsk" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/C%2B%2B" title="C++ – Noors - Bokmål" lang="nb" hreflang="nb" data-title="C++" data-language-autonym="Norsk bokmål" data-language-local-name="Noors - Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-oc mw-list-item"><a href="https://oc.wikipedia.org/wiki/C%2B%2B" title="C++ – Occitaans" lang="oc" hreflang="oc" data-title="C++" data-language-autonym="Occitan" data-language-local-name="Occitaans" class="interlanguage-link-target"><span>Occitan</span></a></li><li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://pa.wikipedia.org/wiki/%E0%A8%B8%E0%A9%80%2B%2B" title="ਸੀ++ – Punjabi" lang="pa" hreflang="pa" data-title="ਸੀ++" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li><li class="interlanguage-link interwiki-pfl mw-list-item"><a href="https://pfl.wikipedia.org/wiki/C%2B%2B" title="C++ – Paltsisch" lang="pfl" hreflang="pfl" data-title="C++" data-language-autonym="Pälzisch" data-language-local-name="Paltsisch" class="interlanguage-link-target"><span>Pälzisch</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/C%2B%2B" title="C++ – Pools" lang="pl" hreflang="pl" data-title="C++" data-language-autonym="Polski" data-language-local-name="Pools" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D8%B3%DB%8C%2B%2B" title="سی++ – Western Punjabi" lang="pnb" hreflang="pnb" data-title="سی++" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/C%2B%2B" title="C++ – Portugees" lang="pt" hreflang="pt" data-title="C++" data-language-autonym="Português" data-language-local-name="Portugees" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-qu mw-list-item"><a href="https://qu.wikipedia.org/wiki/C%2B%2B" title="C++ – Quechua" lang="qu" hreflang="qu" data-title="C++" data-language-autonym="Runa Simi" data-language-local-name="Quechua" class="interlanguage-link-target"><span>Runa Simi</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/C%2B%2B" title="C++ – Roemeens" lang="ro" hreflang="ro" data-title="C++" data-language-autonym="Română" data-language-local-name="Roemeens" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/C%2B%2B" title="C++ – Russisch" lang="ru" hreflang="ru" data-title="C++" data-language-autonym="Русский" data-language-local-name="Russisch" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sah mw-list-item"><a href="https://sah.wikipedia.org/wiki/C%2B%2B" title="C++ – Jakoets" lang="sah" hreflang="sah" data-title="C++" data-language-autonym="Саха тыла" data-language-local-name="Jakoets" class="interlanguage-link-target"><span>Саха тыла</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/C%2B%2B" title="C++ – Servo-Kroatisch" lang="sh" hreflang="sh" data-title="C++" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="Servo-Kroatisch" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/C%2B%2B" title="C++ – Singalees" lang="si" hreflang="si" data-title="C++" data-language-autonym="සිංහල" data-language-local-name="Singalees" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/C%2B%2B" title="C++ – Simple English" lang="en-simple" hreflang="en-simple" data-title="C++" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/C%2B%2B" title="C++ – Slowaaks" lang="sk" hreflang="sk" data-title="C++" data-language-autonym="Slovenčina" data-language-local-name="Slowaaks" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/C%2B%2B" title="C++ – Sloveens" lang="sl" hreflang="sl" data-title="C++" data-language-autonym="Slovenščina" data-language-local-name="Sloveens" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/C%2B%2B" title="C++ – Albanees" lang="sq" hreflang="sq" data-title="C++" data-language-autonym="Shqip" data-language-local-name="Albanees" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/C%2B%2B" title="C++ – Servisch" lang="sr" hreflang="sr" data-title="C++" data-language-autonym="Српски / srpski" data-language-local-name="Servisch" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/C%2B%2B" title="C++ – Zweeds" lang="sv" hreflang="sv" data-title="C++" data-language-autonym="Svenska" data-language-local-name="Zweeds" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/C%2B%2B" title="C++ – Swahili" lang="sw" hreflang="sw" data-title="C++" data-language-autonym="Kiswahili" data-language-local-name="Swahili" class="interlanguage-link-target"><span>Kiswahili</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%9A%E0%AE%BF%2B%2B" title="சி++ – Tamil" lang="ta" hreflang="ta" data-title="சி++" data-language-autonym="தமிழ்" data-language-local-name="Tamil" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%B8%E0%B1%80_%E0%B0%AA%E0%B1%8D%E0%B0%B2%E0%B0%B8%E0%B1%8D_%E0%B0%AA%E0%B1%8D%E0%B0%B2%E0%B0%B8%E0%B1%8D" title="సీ ప్లస్ ప్లస్ – Telugu" lang="te" hreflang="te" data-title="సీ ప్లస్ ప్లస్" data-language-autonym="తెలుగు" data-language-local-name="Telugu" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/C%2B%2B" title="C++ – Tadzjieks" lang="tg" hreflang="tg" data-title="C++" data-language-autonym="Тоҷикӣ" data-language-local-name="Tadzjieks" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B8%8B%E0%B8%B5%E0%B8%9E%E0%B8%A5%E0%B8%B1%E0%B8%AA%E0%B8%9E%E0%B8%A5%E0%B8%B1%E0%B8%AA" title="ภาษาซีพลัสพลัส – Thai" lang="th" hreflang="th" data-title="ภาษาซีพลัสพลัส" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tk mw-list-item"><a href="https://tk.wikipedia.org/wiki/C%2B%2B_programmirleme" title="C++ programmirleme – Turkmeens" lang="tk" hreflang="tk" data-title="C++ programmirleme" data-language-autonym="Türkmençe" data-language-local-name="Turkmeens" class="interlanguage-link-target"><span>Türkmençe</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/C%2B%2B" title="C++ – Turks" lang="tr" hreflang="tr" data-title="C++" data-language-autonym="Türkçe" data-language-local-name="Turks" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-tt mw-list-item"><a href="https://tt.wikipedia.org/wiki/C%2B%2B" title="C++ – Tataars" lang="tt" hreflang="tt" data-title="C++" data-language-autonym="Татарча / tatarça" data-language-local-name="Tataars" class="interlanguage-link-target"><span>Татарча / tatarça</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/C%2B%2B" title="C++ – Oekraïens" lang="uk" hreflang="uk" data-title="C++" data-language-autonym="Українська" data-language-local-name="Oekraïens" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D8%B3%DB%8C%2B%2B" title="سی++ – Urdu" lang="ur" hreflang="ur" data-title="سی++" data-language-autonym="اردو" data-language-local-name="Urdu" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/C%2B%2B" title="C++ – Oezbeeks" lang="uz" hreflang="uz" data-title="C++" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="Oezbeeks" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/C%2B%2B" title="C++ – Vietnamees" lang="vi" hreflang="vi" data-title="C++" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamees" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-war mw-list-item"><a href="https://war.wikipedia.org/wiki/C%2B%2B" title="C++ – Waray" lang="war" hreflang="war" data-title="C++" data-language-autonym="Winaray" data-language-local-name="Waray" class="interlanguage-link-target"><span>Winaray</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/C%2B%2B" title="C++ – Wuyu" lang="wuu" hreflang="wuu" data-title="C++" data-language-autonym="吴语" data-language-local-name="Wuyu" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-yi mw-list-item"><a href="https://yi.wikipedia.org/wiki/%2B%2BC" title="++C – Jiddisch" lang="yi" hreflang="yi" data-title="++C" data-language-autonym="ייִדיש" data-language-local-name="Jiddisch" class="interlanguage-link-target"><span>ייִדיש</span></a></li><li class="interlanguage-link interwiki-yo mw-list-item"><a href="https://yo.wikipedia.org/wiki/C%2B%2B" title="C++ – Yoruba" lang="yo" hreflang="yo" data-title="C++" data-language-autonym="Yorùbá" data-language-local-name="Yoruba" class="interlanguage-link-target"><span>Yorùbá</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/C%2B%2B" title="C++ – Chinees" lang="zh" hreflang="zh" data-title="C++" data-language-autonym="中文" data-language-local-name="Chinees" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-classical mw-list-item"><a href="https://zh-classical.wikipedia.org/wiki/%E4%B8%99%E5%8A%A0%E5%8A%A0" title="丙加加 – Klassiek Chinees" lang="lzh" hreflang="lzh" data-title="丙加加" data-language-autonym="文言" data-language-local-name="Klassiek Chinees" class="interlanguage-link-target"><span>文言</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/C%2B%2B" title="C++ – Minnanyu" lang="nan" hreflang="nan" data-title="C++" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnanyu" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/C%2B%2B" title="C++ – Kantonees" lang="yue" hreflang="yue" data-title="C++" data-language-autonym="粵語" data-language-local-name="Kantonees" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2407#sitelinks-wikipedia" title="Taalkoppelingen bewerken" class="wbc-editpage">Koppelingen bewerken</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Naamruimten"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/C%2B%2B" title="Inhoudspagina bekijken [c]" accesskey="c"><span>Artikel</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Overleg:C%2B%2B" rel="discussion" title="Overleg over deze pagina [t]" accesskey="t"><span>Overleg</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Taalvariant wijzigen" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Nederlands</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Weergaven"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/C%2B%2B"><span>Lezen</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C%2B%2B&veaction=edit" title="Deze pagina bewerken [v]" accesskey="v"><span>Bewerken</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C%2B%2B&action=edit" title="Broncode van deze pagina bewerken [e]" accesskey="e"><span>Brontekst bewerken</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=C%2B%2B&action=history" title="Eerdere versies van deze pagina [h]" accesskey="h"><span>Geschiedenis weergeven</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Paginahulpmiddelen"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Hulpmiddelen" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Hulpmiddelen</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Hulpmiddelen</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">verbergen</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Meer opties" > <div class="vector-menu-heading"> Handelingen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/C%2B%2B"><span>Lezen</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C%2B%2B&veaction=edit" title="Deze pagina bewerken [v]" accesskey="v"><span>Bewerken</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C%2B%2B&action=edit" title="Broncode van deze pagina bewerken [e]" accesskey="e"><span>Brontekst bewerken</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=C%2B%2B&action=history"><span>Geschiedenis weergeven</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Algemeen </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Speciaal:VerwijzingenNaarHier/C%2B%2B" title="Lijst met alle pagina's die naar deze pagina verwijzen [j]" accesskey="j"><span>Links naar deze pagina</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Speciaal:RecenteWijzigingenGelinkt/C%2B%2B" rel="nofollow" title="Recente wijzigingen in pagina's waar deze pagina naar verwijst [k]" accesskey="k"><span>Gerelateerde wijzigingen</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=nl" title="Bestanden uploaden [u]" accesskey="u"><span>Bestand uploaden</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Speciaal:SpecialePaginas" title="Lijst met alle speciale pagina's [q]" accesskey="q"><span>Speciale pagina's</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=C%2B%2B&oldid=68410820" title="Permanente koppeling naar deze versie van deze pagina"><span>Permanente koppeling</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=C%2B%2B&action=info" title="Meer informatie over deze pagina"><span>Paginagegevens</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Speciaal:Citeren&page=C%2B%2B&id=68410820&wpFormIdentifier=titleform" title="Informatie over hoe u deze pagina kunt citeren"><span>Deze pagina citeren</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Speciaal:UrlShortener&url=https%3A%2F%2Fnl.wikipedia.org%2Fwiki%2FC%252B%252B"><span>Verkorte URL verkrijgen</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Speciaal:QrCode&url=https%3A%2F%2Fnl.wikipedia.org%2Fwiki%2FC%252B%252B"><span>QR-code downloaden</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Afdrukken/exporteren </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Speciaal:Boek&bookcmd=book_creator&referer=C%2B%2B"><span>Boek aanmaken</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Speciaal:DownloadAsPdf&page=C%2B%2B&action=show-download-screen"><span>Downloaden als PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=C%2B%2B&printable=yes" title="Printvriendelijke versie van deze pagina [p]" accesskey="p"><span>Afdrukversie</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In andere projecten </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:C%2B%2B" hreflang="en"><span>Wikimedia Commons</span></a></li><li class="wb-otherproject-link wb-otherproject-wikibooks mw-list-item"><a href="https://nl.wikibooks.org/wiki/Programmeren_in_C%2B%2B" hreflang="nl"><span>Wikibooks</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2407" title="Koppeling naar item in verbonden gegevensrepository [g]" accesskey="g"><span>Wikidata-item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Paginahulpmiddelen"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Uiterlijk"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Uiterlijk</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">naar zijbalk verplaatsen</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">verbergen</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">Uit Wikipedia, de vrije encyclopedie</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="nl" dir="ltr"><table class="infobox" cellpadding="1" cellspacing="1"> <tbody><tr> <th class="infobox-kop notheme" style="background-color:beige; color:inherit; text-align:center; font-size:120%;" colspan="3">C++ </th></tr> <tr> <td style="text-align:center; padding:0;" colspan="3"><span typeof="mw:File"><a href="/wiki/Bestand:ISO_C%2B%2B_Logo.svg" class="mw-file-description"><img alt="C++" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/125px-ISO_C%2B%2B_Logo.svg.png" decoding="async" width="125" height="141" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/188px-ISO_C%2B%2B_Logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/250px-ISO_C%2B%2B_Logo.svg.png 2x" data-file-width="306" data-file-height="344" /></a></span> </td></tr> <tr> <th><a href="/wiki/Programmeerparadigma" title="Programmeerparadigma">Paradigma</a> </th> <td colspan="2"><a href="/wiki/Multi-paradigmaprogrammeertaal" title="Multi-paradigmaprogrammeertaal">multi-paradigma</a>, <a href="/wiki/Objectgeori%C3%ABnteerd" title="Objectgeoriënteerd">Objectgeoriënteerd</a> </td></tr> <tr> <th>Verschenen </th> <td colspan="2">1983 </td></tr> <tr> <th><span class="nowrap">Ontworpen door</span> </th> <td colspan="2">Bjarne Stroustrup </td></tr> <tr> <th><span class="nowrap">Ontwikkeld door</span> </th> <td colspan="2">Bjarne Stroustrup </td></tr> <tr> <th>Huidige versie </th> <td colspan="2">C++23<sup id="cite_ref-wikidata-1cb32e45d32ea7da85b87c5f5ef5b8c3cba362e8-v3_1-0" class="reference"><a href="#cite_note-wikidata-1cb32e45d32ea7da85b87c5f5ef5b8c3cba362e8-v3-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> <span class="mw-valign-text-top" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q2407?uselang=nl#P348" title="Bewerken op Wikidata"><img alt="Bewerken op Wikidata" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span><br /><small>19 oktober 2024</small> </td></tr> <tr> <th><a href="/wiki/Typesysteem" title="Typesysteem">Typesysteem</a> </th> <td colspan="2">objectgeoriënteerd programmeren, functioneel programmeren, procedurele programmering, genericiteit </td></tr> <tr> <th>Implementaties </th> <td colspan="2"><a href="/wiki/GNU_Compiler_Collection" title="GNU Compiler Collection">G++</a>, <a href="/wiki/Microsoft" title="Microsoft">MS</a> Visual C++, Borland C++ Builder, Intel C++ Compiler, Sun Studio </td></tr> <tr> <th>Dialecten </th> <td colspan="2"><a href="/w/index.php?title=ISO/IEC_14882&action=edit&redlink=1" class="new" title="ISO/IEC 14882 (de pagina bestaat niet)">ISO/IEC 14882</a> 1998-2003 </td></tr> <tr> <th><span class="nowrap">Beïnvloed door</span> </th> <td colspan="2"><a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a>, <a href="/wiki/Simula" title="Simula">Simula</a>, <a href="/wiki/Ada_(programmeertaal)" title="Ada (programmeertaal)">Ada 83</a>, <a href="/wiki/Algol-68" class="mw-redirect" title="Algol-68">Algol 68</a>, <a href="/wiki/Smalltalk_(programmeertaal)" title="Smalltalk (programmeertaal)">Smalltalk</a> </td></tr> <tr> <th>Invloed op </th> <td colspan="2"><a href="/wiki/Ada_(programmeertaal)" title="Ada (programmeertaal)">Ada 95</a>, <a href="/wiki/C_sharp" class="mw-redirect" title="C sharp">C#</a>, <a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a>, <a href="/wiki/Perl_(programmeertaal)" title="Perl (programmeertaal)">Perl</a>, <a href="/wiki/D_(programmeertaal)" title="D (programmeertaal)">D</a>, <a href="/wiki/PHP" title="PHP">PHP</a> </td></tr> <tr> <th><a href="/wiki/Bestandsextensie" title="Bestandsextensie">Bestandsextensies</a> </th> <td colspan="2">cc, cpp, cxx, c, c++, h, hpp, hh, hxx, h++ </td></tr> <tr> <th><a href="/wiki/Website" title="Website">Website</a> </th> <td colspan="2"><style data-mw-deduplicate="TemplateStyles:r67679320">.mw-parser-output .taalaanduiding{font-family:sans-serif;font-size:85%;cursor:help;color:var(--color-subtle,#555)}.mw-parser-output .taalaanduiding span{border-bottom:1px dotted var(--color-subtle,#555)}</style><span class="taalaanduiding" title="Taal: Engels">(<span>en</span>) </span><a rel="nofollow" class="external text" href="https://isocpp.org">Projectpagina</a> </td></tr> <tr> <td class="infobox-kop notheme center" style="background-color:beige; color:inherit;" colspan="3"> <table cellspacing="0" cellpadding="0"> <tbody><tr> <td style="vertical-align:middle;"><b>Portaal</b>  <span class="noviewer" typeof="mw:File"><a href="/wiki/Bestand:Portal.svg" class="mw-file-description" title="Portaalicoon"><img alt="Portaalicoon" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/22px-Portal.svg.png" decoding="async" width="22" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/33px-Portal.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Portal.svg/44px-Portal.svg.png 2x" data-file-width="36" data-file-height="32" /></a></span>   </td> <td class="ta-left"><b><a href="/wiki/Portaal:Informatica" title="Portaal:Informatica">Informatica</a> </b> </td></tr></tbody></table> </td></tr> </tbody></table> <figure typeof="mw:File/Thumb"><a href="/wiki/Bestand:Hello_World_C%2B%2B.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Hello_World_C%2B%2B.png/240px-Hello_World_C%2B%2B.png" decoding="async" width="240" height="119" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Hello_World_C%2B%2B.png/360px-Hello_World_C%2B%2B.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Hello_World_C%2B%2B.png/480px-Hello_World_C%2B%2B.png 2x" data-file-width="560" data-file-height="277" /></a><figcaption><a href="/wiki/Hello_world_(programma)" title="Hello world (programma)">Hello world (programma)</a>, geschreven in C++</figcaption></figure> <p><b>C++</b> (uitgesproken als <i>C plus plus</i>) is een <a href="/wiki/Programmeertaal" title="Programmeertaal">programmeertaal</a> gebaseerd op <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a>. </p><p>In tegenstelling tot C is C++ een <a href="/wiki/Multi-paradigmaprogrammeertaal" title="Multi-paradigmaprogrammeertaal">multi-paradigmataal</a>, wat inhoudt dat er verschillende programmeerparadigma's gebruikt kunnen worden. De taal is ontworpen door <a href="/wiki/Bjarne_Stroustrup" title="Bjarne Stroustrup">Bjarne Stroustrup</a> voor <a href="/wiki/AT%26T" title="AT&T">AT&T</a> Labs, als verbetering van C. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Geschiedenis">Geschiedenis</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=1" title="Bewerk dit kopje: Geschiedenis" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=1" title="De broncode bewerken van de sectie: Geschiedenis"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Bjarne Stroustrup, een in Denemarken en het Verenigd Koninkrijk opgeleide computerwetenschapper, begon zijn werk aan "C with classes" (<i>C met klassen</i>) in 1979. Het idee om een nieuwe taal te ontwikkelen ontstond tijdens het <a href="/wiki/Programmeren_(computer)" title="Programmeren (computer)">programmeren</a> voor zijn <a href="/wiki/Doctor_of_Philosophy" title="Doctor of Philosophy">PhD</a>-thesis. Stroustrup vond dat <a href="/wiki/Simula" title="Simula">Simula</a> bepaalde eigenschappen had die erg behulpzaam waren voor grootschalige software-ontwikkelingsprojecten, maar dat de taal te langzaam voor praktisch gebruik was. Aan de andere kant was <a href="/wiki/BCPL" title="BCPL">BCPL</a> snel, maar van een te "laag" niveau (te dicht op de "bitjes" en de "bytejes") om voor gebruik in grote software-ontwikkelingsprojecten geschikt te zijn. </p><p>Toen Stroustrup bij <a href="/wiki/Bell_Labs" title="Bell Labs">AT&T Bell Labs</a> ging werken kreeg hij de opdracht om de <a href="/wiki/UNIX" class="mw-redirect" title="UNIX">UNIX</a>-<a href="/wiki/Kernel" title="Kernel">kernel</a> te analyseren met het oog op gebruik in <a href="/wiki/Distributed_computing" title="Distributed computing">distributed computing</a>. Met in gedachten zijn ervaringen bij het schrijven van zijn proefschrift begon Stroustrup aan een project om de programmeertaal <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a> uit te breiden met <a href="/wiki/Simula" title="Simula">Simula</a>-achtige eigenschappen. Hij koos voor C omdat het een taal voor algemeen gebruik was die snel en gemakkelijk <a href="/wiki/Porteren" title="Porteren">porteerbaar</a> was en vooral op grote schaal werd gebruikt. Behalve door C en Simula werd hij ook geïnspireerd door <a href="/wiki/Algol_68" title="Algol 68">Algol 68</a>, <a href="/wiki/Ada_(programmeertaal)" title="Ada (programmeertaal)">Ada</a>, <a href="/w/index.php?title=CLU_(programmeertaal)&action=edit&redlink=1" class="new" title="CLU (programmeertaal) (de pagina bestaat niet)">CLU</a> en <a href="/wiki/ML_(programmeertaal)" title="ML (programmeertaal)">ML</a>. In eerste instantie werden de klasse, afgeleide klasse, <a href="/w/index.php?title=Sterke_typering&action=edit&redlink=1" class="new" title="Sterke typering (de pagina bestaat niet)">sterke typering</a>, <a href="/w/index.php?title=Inlining&action=edit&redlink=1" class="new" title="Inlining (de pagina bestaat niet)">inlining</a> en <a href="/wiki/Default_argument" class="mw-redirect" title="Default argument">default argument</a>-eigenschappen via "C met klassen" aan de C-compiler, Cpre, toegevoegd.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p><p>In 1983 werd de naam van de taal gewijzigd in C++ (de <a href="/wiki/Incremental_operator" class="mw-redirect" title="Incremental operator">incremental operator</a> in C is ++). Nieuwe functies werden toegevoegd, waaronder <a href="/w/index.php?title=Virtuele_functie&action=edit&redlink=1" class="new" title="Virtuele functie (de pagina bestaat niet)">virtuele functies</a>, <a href="/wiki/Overloading" title="Overloading">overloading van functienamen</a> en <a href="/wiki/Operator-overloading" title="Operator-overloading">operators</a>, <a href="/wiki/Referentie" title="Referentie">referenties</a>, <a href="/wiki/Constant_(eigenschap)" title="Constant (eigenschap)">constanten</a>, door de gebruiker gestuurde <a href="/wiki/Allocator_(C%2B%2B)" title="Allocator (C++)">allocatie</a> en vrijgave van geheugen, verbeterde <a href="/wiki/Type_checking" class="mw-redirect" title="Type checking">type checking</a>, eenregelig <a href="/wiki/Commentaar_(programmeren)" title="Commentaar (programmeren)">commentaar</a> met twee <a href="/wiki/Schuine_streep" title="Schuine streep">schuine strepen</a> (<i>forward slashes</i>) (<code>//</code>) zoals dat in BCPL gebruikt werd, alsook de ontwikkeling van een <a href="/wiki/Compiler" title="Compiler">compiler</a> voor C++, <a href="/w/index.php?title=Cfront&action=edit&redlink=1" class="new" title="Cfront (de pagina bestaat niet)">Cfront</a>. In 1985 werd de eerste editie van <i>The C++ Programming Language</i> uitgebracht. Dit werd snel een belangrijk naslagwerk voor de taal, aangezien er op dat moment nog geen officiële standaard was.<sup id="cite_ref-1st-edition_3-0" class="reference"><a href="#cite_note-1st-edition-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> </p><p>De eerste commerciële implementatie van C++ werd in oktober 1985 uitgebracht.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> Versie 2.0 van C++ volgde in 1989 en de geactualiseerde tweede editie van <i>The C++ Programming Language</i> werd in 1991 uitgebracht.<sup id="cite_ref-2nd-edition_5-0" class="reference"><a href="#cite_note-2nd-edition-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> Onder de nieuwe eigenschappen waren meervoudige overerving, <a href="/wiki/Abstracte_klasse" title="Abstracte klasse">abstracte klassen</a>, statische memberfuncties, const-memberfuncties en beschermde members. In 1990 werd <i>The Annotated C++ Reference Manual</i> gepubliceerd. Dit werk werd de basis voor de toekomstige standaard. </p><p>Latere toevoegingen aan C++ zijn onder andere <a href="/wiki/Template_(software)" title="Template (software)">templates</a>, <a href="/wiki/Exception_handling" title="Exception handling">exception handling</a>, <a href="/wiki/Naamruimte" title="Naamruimte">naamruimten</a>, nieuwe <a href="/wiki/Typeconversie" title="Typeconversie">casts</a> en een <a href="/wiki/Boolean" title="Boolean">booleaans datatype</a>. Naarmate de C++-taal evolueerde, evolueerden de standaardbibliotheken mee. De eerste toevoeging aan de C++-standaardbibliotheek was de <a href="/w/index.php?title=Iostream&action=edit&redlink=1" class="new" title="Iostream (de pagina bestaat niet)">stream I/O-bibliotheek</a>. Deze bibliotheek bood faciliteiten om de traditionele C-functies zoals <a href="/w/index.php?title=Printf&action=edit&redlink=1" class="new" title="Printf (de pagina bestaat niet)">printf</a> en <a href="/w/index.php?title=Scanf&action=edit&redlink=1" class="new" title="Scanf (de pagina bestaat niet)">scanf</a> te vervangen. Later was onder de belangrijkste toevoegingen aan de standaard bibliotheek een grote hoeveelheid van de <a href="/wiki/Standard_Template_Library" title="Standard Template Library">Standard Template Library</a>. </p><p>C++ was in 2022 een van de meest gebruikte programmeertalen voor het ontwikkelen van professionele applicaties.<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Kenmerken">Kenmerken</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=2" title="Bewerk dit kopje: Kenmerken" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=2" title="De broncode bewerken van de sectie: Kenmerken"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Objectgeoriënteerd"><span id="Objectgeori.C3.ABnteerd"></span>Objectgeoriënteerd</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=3" title="Bewerk dit kopje: Objectgeoriënteerd" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=3" title="De broncode bewerken van de sectie: Objectgeoriënteerd"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De belangrijkste uitbreiding op C is de toevoeging van <a href="/wiki/Klasse_(informatica)" title="Klasse (informatica)">klassen</a> voor <a href="/wiki/Objectgeori%C3%ABnteerd" title="Objectgeoriënteerd">objectgeoriënteerd</a> programmeren. Het is daardoor mogelijk in C++ <a href="/wiki/Objectgeori%C3%ABnteerd" title="Objectgeoriënteerd">objectgeoriënteerde</a> en <a href="/wiki/Imperatief_programmeren" title="Imperatief programmeren">procedurele</a> code te combineren. </p><p>De klasse-ondersteuning omvat onder andere </p> <ul><li><a href="/wiki/Polymorfisme_(informatica)" title="Polymorfisme (informatica)">virtuele functies</a></li></ul> <dl><dd><dl><dd>voorbeeld: <code>virtual void Print()</code></dd></dl></dd></dl> <ul><li><a href="/wiki/Abstracte_klasse" title="Abstracte klasse">abstracte klassen</a> (of methoden)</li></ul> <dl><dd><dl><dd>voorbeeld: <code>virtual void Print()=0;</code></dd></dl></dd></dl> <ul><li>en <a href="/wiki/Overerving_(informatica)" title="Overerving (informatica)">(meervoudige) overerving</a>.</li></ul> <dl><dd><dl><dd>voorbeeld: <code>class Taxi: public Vervoermiddel { ... }</code></dd></dl></dd></dl> <div class="mw-heading mw-heading3"><h3 id="Templates">Templates</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=4" title="Bewerk dit kopje: Templates" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=4" title="De broncode bewerken van de sectie: Templates"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Een andere uitbreiding ten opzichte van C zijn <a href="/wiki/Template_(software)" title="Template (software)">templates</a> (de basis van <a href="/wiki/Genericiteit_(programmeertaalvoorziening)" class="mw-redirect" title="Genericiteit (programmeertaalvoorziening)">generiek programmeren</a>). Een template of sjabloon is een functie of klasse die gebruikmaakt van een <a href="/wiki/Abstract_datatype" title="Abstract datatype">abstract datatype</a>. </p><p>Een voorbeeld is het berekenen van het gemiddelde van twee getallen. In plaats van aparte functies voor <i>int</i>, <i>float</i> en <i>double</i> kan een templatefunctie gebruikt worden: </p> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="k">template</span><span class="w"> </span><span class="o"><</span><span class="k">class</span><span class="w"> </span><span class="nc">T</span><span class="o">></span> <span class="n">T</span><span class="w"> </span><span class="n">gemiddelde</span><span class="p">(</span><span class="n">T</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="n">T</span><span class="w"> </span><span class="n">b</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="p">(</span><span class="n">a</span><span class="o">+</span><span class="n">b</span><span class="p">)</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="mi">2</span><span class="p">;</span> <span class="p">}</span> </pre></div> <p>Deze functie kan vervolgens voor alle datatypen gebruikt worden die de <a href="/wiki/Operatie_(wiskunde)" title="Operatie (wiskunde)">operatoren</a> + en / ondersteunen. </p> <div class="mw-heading mw-heading3"><h3 id="Andere_uitbreidingen_ten_opzichte_van_C">Andere uitbreidingen ten opzichte van C</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=5" title="Bewerk dit kopje: Andere uitbreidingen ten opzichte van C" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=5" title="De broncode bewerken van de sectie: Andere uitbreidingen ten opzichte van C"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Naast de object-georiënteerde uitbreidingen bood C++ nog enkele nieuwe zaken die in C niet aanwezig waren op dat moment: </p> <ul><li>Een nieuwe commentaarstijl voor een enkele regel (met "//").</li> <li>De mogelijkheid variabelen te declareren vlak voor gebruik.</li> <li><a href="/wiki/Naamruimte" title="Naamruimte">Naamruimten</a>.</li> <li><a href="/wiki/Overloading" title="Overloading">Functie-overloading</a>.</li> <li><a href="/wiki/Operator-overloading" title="Operator-overloading">Operator-overloading</a>.</li> <li><a href="/wiki/Exception_handling" title="Exception handling">Exception handling</a>.</li> <li>Inline functies (ook beschikbaar in de C99-standaard).</li> <li>Een standaard string-type.</li> <li>Een standaard bool-type.</li> <li>Naast pointers ook references.</li> <li>Standaardwaarden bij het weglaten van argumenten.</li> <li>De operatoren 'new' en 'delete' ter vervanging van de functies 'malloc' en 'free'.</li></ul> <div class="mw-heading mw-heading3"><h3 id="De_C++-standaardbibliotheek_en_STL"><span id="De_C.2B.2B-standaardbibliotheek_en_STL"></span>De C++-standaardbibliotheek en STL</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=6" title="Bewerk dit kopje: De C++-standaardbibliotheek en STL" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=6" title="De broncode bewerken van de sectie: De C++-standaardbibliotheek en STL"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>De standaardbibliotheek bevat alle functionaliteit van C, met daarbij een verzameling templates: de Standard Template Library (STL). Dit zijn algemene templates voor het beheren van <a href="/wiki/Container_(informatica)" title="Container (informatica)">containers</a> als vectors, lists en maps. </p> <div class="mw-heading mw-heading4"><h4 id="Bekende_bibliotheken">Bekende bibliotheken</h4><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=7" title="Bewerk dit kopje: Bekende bibliotheken" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=7" title="De broncode bewerken van de sectie: Bekende bibliotheken"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li>STL: Standard Template Library, de standaard.</li> <li>Boost: Boost C++ Library, bevat onder andere toekomstige toevoegingen aan de standaard.</li> <li>Qt: zeer uitgebreid en cross-platform, onder andere gebruikt voor GUI-toepassingen.</li> <li>MFC: Microsoft Foundation Classes, gericht op Windows-toepassingen.</li> <li>WTL: Windows Template Library, gericht op Windows-toepassingen.</li> <li>ATL: Active Template Library, gericht op Windows-toepassingen.</li></ul> <div class="mw-heading mw-heading3"><h3 id="Geen_zuivere_superset_van_C">Geen zuivere superset van C</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=8" title="Bewerk dit kopje: Geen zuivere superset van C" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=8" title="De broncode bewerken van de sectie: Geen zuivere superset van C"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In tegenstelling tot wat vaak wordt beweerd, is C++ geen zuivere <a href="/wiki/Superset" title="Superset">superset</a> van C. Niet alle geldige C-code is automatisch geldige C++-code. De meeste C-code zal probleemloos als C++ gecompileerd worden, maar er zijn kleine verschillen. Een andere programmeertaal, <a href="/wiki/Objective-C" title="Objective-C">Objective-C</a>, is wel een superset van C. </p> <div class="mw-heading mw-heading3"><h3 id="Vergelijkbare_talen">Vergelijkbare talen</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=9" title="Bewerk dit kopje: Vergelijkbare talen" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=9" title="De broncode bewerken van de sectie: Vergelijkbare talen"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Andere object-georiënteerde talen die grotendeels gebaseerd werden op C++, zijn: </p> <ul><li><a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a></li> <li><a href="/wiki/Arduino_(computerplatform)" title="Arduino (computerplatform)">Arduino</a></li> <li><a href="/wiki/D_(programmeertaal)" title="D (programmeertaal)">D</a></li> <li><a href="/wiki/C_sharp" class="mw-redirect" title="C sharp">C#</a></li></ul> <p>Ook <a href="/wiki/PHP" title="PHP">PHP</a>, hoewel een scriptingtaal, heeft sinds versie 4 (en vooral sinds 5) veel weg van C++. </p><p><a href="/wiki/Objective-C" title="Objective-C">Objective-C</a> lijkt niet op C++. Beide talen ontstonden als object-georiënteerde uitbreiding op C, hun gemeenschappelijke voorouder. Hierdoor delen ze toch wat gelijkenissen en zijn ze tegenwoordig zelfs combineerbaar als <a href="/w/index.php?title=Objective-C%2B%2B&action=edit&redlink=1" class="new" title="Objective-C++ (de pagina bestaat niet)">Objective-C++ 2.0</a>. </p> <div class="mw-heading mw-heading2"><h2 id="Implementatie">Implementatie</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=10" title="Bewerk dit kopje: Implementatie" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=10" title="De broncode bewerken van de sectie: Implementatie"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Compilers">Compilers</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=11" title="Bewerk dit kopje: Compilers" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=11" title="De broncode bewerken van de sectie: Compilers"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Er zijn verschillende <a href="/wiki/Compiler" title="Compiler">compilers</a> beschikbaar, zowel gratis als commercieel. Een aantal bekende zijn: </p> <ul><li><a href="/wiki/GNU_Compiler_Collection" title="GNU Compiler Collection">GCC</a> (<a href="/wiki/Linux" title="Linux">Linux</a> en vele ports naar andere <a href="/wiki/Besturingssysteem" title="Besturingssysteem">besturingssystemen</a>) <ul><li><a href="/wiki/Cygwin" title="Cygwin">Cygwin</a> (POSIX-omgeving met een Windows-port van GCC)</li> <li><a href="/wiki/MinGW" title="MinGW">MinGW</a> (Windows-port van GCC)</li></ul></li> <li><a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> Visual C++ (Windows)</li> <li><a href="/wiki/Intel" title="Intel">Intel</a> C++-Compiler (Linux, Windows)</li> <li><a href="/w/index.php?title=Clang&action=edit&redlink=1" class="new" title="Clang (de pagina bestaat niet)">Clang</a>, deel van het <a href="/w/index.php?title=LLVM&action=edit&redlink=1" class="new" title="LLVM (de pagina bestaat niet)">LLVM</a>-project (verschillende besturingssystemen)</li></ul> <div class="mw-heading mw-heading3"><h3 id="IDE's"><span id="IDE.27s"></span>IDE's</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=12" title="Bewerk dit kopje: IDE's" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=12" title="De broncode bewerken van de sectie: IDE's"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Er bestaan verschillende <a href="/wiki/Integrated_development_environment" title="Integrated development environment">IDE's</a> voor C++: </p> <ul><li><a href="/wiki/Microsoft_Visual_Studio" title="Microsoft Visual Studio">Visual Studio</a> van <a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> (Windows)</li> <li><a href="/wiki/Dev-C%2B%2B" title="Dev-C++">Dev-C++</a> <a href="/wiki/Opensourcesoftware" title="Opensourcesoftware">Open source</a> IDE met ingebouwde <a href="/wiki/MinGW" title="MinGW">MinGW</a> compiler (Windows, Linux)</li> <li><a href="/w/index.php?title=QtCreator&action=edit&redlink=1" class="new" title="QtCreator (de pagina bestaat niet)">QtCreator</a>, onderdeel van <a href="/wiki/Qt-toolkit" title="Qt-toolkit">Qt</a> (Windows, Linux en <a href="/wiki/Mac_OS" title="Mac OS">Mac OS</a>)</li> <li><a href="/wiki/KDevelop" title="KDevelop">KDevelop</a>, een IDE voornamelijk gericht op de ontwikkeling van <a href="/wiki/KDE" title="KDE">KDE</a> en <a href="/wiki/Qt-toolkit" title="Qt-toolkit">Qt</a>-programma's (Linux)</li> <li><a href="/wiki/Code::Blocks" title="Code::Blocks">Code::Blocks</a>, een gratis C en C++ IDE (Windows, Linux) gebaseerd op <a href="/wiki/WxWidgets" title="WxWidgets">wxWidgets</a></li> <li><a href="/wiki/Eclipse_(software)" title="Eclipse (software)">Eclipse</a>, veel gebruikt voor <a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a>, maar met goede ondersteuning voor C++ via de CDT plugin</li> <li><a href="/wiki/Xcode" title="Xcode">Xcode</a> (Mac OS) IDE met onder andere ondersteuning voor C++</li> <li><a href="/wiki/NetBeans" title="NetBeans">NetBeans</a> (Windows, Linux, Mac OS en Solaris)</li> <li><a href="/w/index.php?title=CodeLite&action=edit&redlink=1" class="new" title="CodeLite (de pagina bestaat niet)">CodeLite</a> (Windows, Linux en Mac OS)</li> <li><a href="/w/index.php?title=CLion&action=edit&redlink=1" class="new" title="CLion (de pagina bestaat niet)">CLion</a> (Windows, Linux en Mac OS)</li> <li><a href="/wiki/C%2B%2BBuilder" title="C++Builder">C++Builder</a> (Windows)</li></ul> <div class="mw-heading mw-heading2"><h2 id="C++-voorbeelden"><span id="C.2B.2B-voorbeelden"></span>C++-voorbeelden</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=13" title="Bewerk dit kopje: C++-voorbeelden" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=13" title="De broncode bewerken van de sectie: C++-voorbeelden"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Een eenvoudig programma om "<a href="/wiki/Hello_world_(programma)" title="Hello world (programma)">Hello World!</a>" op het scherm te tonen, ziet er bijvoorbeeld zo uit: </p> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><iostream></span><span class="c1"> // Dit regelt de standaard in- en uitvoer binnen C++</span> <span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="c1">// De uitvoering van het programma begint bij main()</span> <span class="p">{</span> <span class="w"> </span><span class="c1">// Schrijf "Hello World!" naar de standard output stream cout (in de </span> <span class="w"> </span><span class="c1">// namespace std::)</span> <span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">cout</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">"Hello World!"</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">std</span><span class="o">::</span><span class="n">endl</span><span class="p">;</span> <span class="p">}</span> </pre></div> <p>Merk in dit voorbeeld op dat de functie 'int main()' geen return-statement bevat: volgens de C++ standaard geeft de main-functie uit zichzelf de waarde 0 (nul) terug tenzij een andere return-waarde meegegeven wordt. Een 'return 0' statement is dus overbodig. </p><p>Een eenvoudig voorbeeld van een C++-consoleprogramma dat standaard invoer accepteert en uitvoer op het scherm toont, ziet er als volgt uit: </p> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><iostream></span><span class="c1"> // voeg de I/O bibliotheek toe (voor std::cin en std::cout)</span> <span class="cp">#include</span><span class="w"> </span><span class="cpf"><string></span><span class="c1"> // voeg de string bibliotheek toe (voor std::string)</span> <span class="c1">// cin, cout en string zijn onderdeel van de std:: namespace.</span> <span class="k">using</span><span class="w"> </span><span class="k">namespace</span><span class="w"> </span><span class="nn">std</span><span class="p">;</span><span class="w"> </span><span class="c1">// maakt namespace std bruikbaar zonder de std::</span> <span class="w"> </span><span class="c1">// kwalificatie. 'using namespace' is handig omdat het</span> <span class="w"> </span><span class="c1">// minder typewerk is. Maar in grotere projecten kan je het</span> <span class="w"> </span><span class="c1">// beter niet gebruiken, omdat je dan niet kan zien uit</span> <span class="w"> </span><span class="c1">// welke namespace een variabele komt</span> <span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span> <span class="p">{</span> <span class="w"> </span><span class="c1">// declareer twee strings en een integer</span> <span class="w"> </span><span class="n">string</span><span class="w"> </span><span class="n">strNaam</span><span class="p">;</span> <span class="w"> </span><span class="n">string</span><span class="w"> </span><span class="n">strVoornaam</span><span class="p">;</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">nLeeftijd</span><span class="p">;</span> <span class="w"> </span><span class="c1">// vraag om voor- en achternaam</span> <span class="w"> </span><span class="n">cout</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">"Wat is uw voor- en achternaam? "</span><span class="p">;</span> <span class="w"> </span><span class="c1">// ontvang invoer van de standaard input stream en plaats die in</span> <span class="w"> </span><span class="c1">// de variabelen strVoornaam en strNaam</span> <span class="w"> </span><span class="n">cin</span><span class="w"> </span><span class="o">>></span><span class="w"> </span><span class="n">strVoornaam</span><span class="w"> </span><span class="o">>></span><span class="w"> </span><span class="n">strNaam</span><span class="p">;</span> <span class="w"> </span><span class="c1">// vraag om leeftijd</span> <span class="w"> </span><span class="n">cout</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">"Wat is uw leeftijd? "</span><span class="p">;</span> <span class="w"> </span><span class="c1">// ontvang een regel van de standard input en zet die om naar een int</span> <span class="w"> </span><span class="n">cin</span><span class="w"> </span><span class="o">>></span><span class="w"> </span><span class="n">nLeeftijd</span><span class="p">;</span> <span class="w"> </span><span class="c1">// toon de ingevoerde gegevens</span> <span class="w"> </span><span class="n">cout</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">"Hallo "</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">strVoornaam</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">" "</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">strNaam</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">endl</span><span class="p">;</span> <span class="w"> </span><span class="n">cout</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">"U bent "</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">nLeeftijd</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="s">" jaar oud."</span><span class="w"> </span><span class="o"><<</span><span class="w"> </span><span class="n">endl</span><span class="p">;</span> <span class="p">}</span> </pre></div> <p>Een voorbeeld van een C++-consoleprogramma dat de kracht van de STL-templates laat zien: </p><p>Met dit programma kun je een aantal getallen ingeven, die vervolgens na het ingeven van het eerste niet-getal gesorteerd zullen worden en op het console getoond. </p> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><algorithm></span> <span class="cp">#include</span><span class="w"> </span><span class="cpf"><iostream></span> <span class="cp">#include</span><span class="w"> </span><span class="cpf"><iterator></span> <span class="cp">#include</span><span class="w"> </span><span class="cpf"><vector></span> <span class="k">using</span><span class="w"> </span><span class="k">namespace</span><span class="w"> </span><span class="nn">std</span><span class="p">;</span> <span class="kt">int</span><span class="w"> </span><span class="nf">main</span><span class="p">()</span> <span class="p">{</span> <span class="w"> </span><span class="n">vector</span><span class="o"><</span><span class="kt">int</span><span class="o">></span><span class="w"> </span><span class="n">v</span><span class="p">;</span> <span class="w"> </span><span class="n">istream_iterator</span><span class="o"><</span><span class="kt">int</span><span class="o">></span><span class="w"> </span><span class="n">start</span><span class="p">(</span><span class="n">cin</span><span class="p">);</span> <span class="w"> </span><span class="n">istream_iterator</span><span class="o"><</span><span class="kt">int</span><span class="o">></span><span class="w"> </span><span class="n">end</span><span class="p">;</span> <span class="w"> </span><span class="n">back_insert_iterator</span><span class="o"><</span><span class="n">vector</span><span class="o"><</span><span class="kt">int</span><span class="o">>></span><span class="w"> </span><span class="n">dest</span><span class="p">(</span><span class="n">v</span><span class="p">);</span> <span class="w"> </span><span class="n">copy</span><span class="p">(</span><span class="n">start</span><span class="p">,</span><span class="w"> </span><span class="n">end</span><span class="p">,</span><span class="w"> </span><span class="n">dest</span><span class="p">);</span> <span class="w"> </span><span class="n">sort</span><span class="p">(</span><span class="n">v</span><span class="p">.</span><span class="n">begin</span><span class="p">(),</span><span class="w"> </span><span class="n">v</span><span class="p">.</span><span class="n">end</span><span class="p">());</span> <span class="w"> </span><span class="n">copy</span><span class="p">(</span><span class="n">v</span><span class="p">.</span><span class="n">begin</span><span class="p">(),</span><span class="w"> </span><span class="n">v</span><span class="p">.</span><span class="n">end</span><span class="p">(),</span><span class="w"> </span><span class="n">ostream_iterator</span><span class="o"><</span><span class="kt">int</span><span class="o">></span><span class="p">(</span><span class="n">cout</span><span class="p">,</span><span class="w"> </span><span class="s">"</span><span class="se">\n</span><span class="s">"</span><span class="p">));</span> <span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Zie_ook">Zie ook</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=14" title="Bewerk dit kopje: Zie ook" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=14" title="De broncode bewerken van de sectie: Zie ook"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Lijst_van_programmeertalen" title="Lijst van programmeertalen">Lijst van programmeertalen</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Voetnoten">Voetnoten</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=C%2B%2B&veaction=edit&section=15" title="Bewerk dit kopje: Voetnoten" class="mw-editsection-visualeditor"><span>bewerken</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=C%2B%2B&action=edit&section=15" title="De broncode bewerken van de sectie: Voetnoten"><span>brontekst bewerken</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="reflist" style="list-style-type: decimal;"><div class="mw-references-wrap"><ol class="references"> <li id="cite_note-wikidata-1cb32e45d32ea7da85b87c5f5ef5b8c3cba362e8-v3-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-1cb32e45d32ea7da85b87c5f5ef5b8c3cba362e8-v3_1-0">↑</a></span> <span class="reference-text"><span class="citation" id="CITEREFFout:_ongeldige_tijd."><a rel="nofollow" class="external text" href="https://www.iso.org/standard/83626.html">ISO/IEC 14882:2024 - Programming languages — C++</a> (<span class="mw-formatted-date" title="2024-10-19">19 oktober 2024</span>). </span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text"><span style="font-variant:small-caps;"><a href="/wiki/Bjarne_Stroustrup" title="Bjarne Stroustrup">Bjarne Stroustrup</a></span>, <a rel="nofollow" class="external text" href="http://www.stroustrup.com/hopl2.pdf">HOPL II paper</a></span> </li> <li id="cite_note-1st-edition-3"><span class="mw-cite-backlink"><a href="#cite_ref-1st-edition_3-0">↑</a></span> <span class="reference-text"><span style="font-variant:small-caps;">Bjarne Stroustrup</span>, <a rel="nofollow" class="external text" href="https://web.archive.org/web/20120509225555/http://www2.research.att.com/~bs/1st.html"><i>The C++ Programming Language</i></a>, 1e editie</span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a></span> <span class="reference-text"><span style="font-variant:small-caps;">Bjarne Stroustrup</span>, FAQ, <a rel="nofollow" class="external text" href="http://www.stroustrup.com/bs_faq.html#Invention"><i>When was C++ invented?</i></a></span> </li> <li id="cite_note-2nd-edition-5"><span class="mw-cite-backlink"><a href="#cite_ref-2nd-edition_5-0">↑</a></span> <span class="reference-text"><span style="font-variant:small-caps;">Bjarne Stroustrup</span>, <a rel="nofollow" class="external text" href="https://web.archive.org/web/20120509225333/http://www2.research.att.com/~bs/2nd.html"><i>C++ Programming Language</i></a>, 2e editie</span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><a href="#cite_ref-6">↑</a></span> <span class="reference-text"><span class="citation"><a rel="nofollow" class="external text" href="https://www.bitdegree.org/tutorials/most-used-programming-languages/">Most Used Programming Languages 2022</a>. BitDegree. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20230806163959/https://www.bitdegree.org/tutorials/most-used-programming-languages/">Gearchiveerd</a> op <span class="mw-formatted-date" title="2023-08-06">6 augustus 2023</span>. Geraadpleegd op <span class="mw-formatted-date" title="2022-03-15">15 maart 2022</span>. </span></span> </li> </ol></div></div> <div class="interProject wikibooks mw-list-item" style="display:none;"><a href="https://nl.wikibooks.org/wiki/Programmeren_in_C%2B%2B" class="extiw" title="b:Programmeren in C++">Wikibooks</a></div> <div class="interProjectTemplate interProject-groot toccolours" style="display:flex; gap:1em; align-items:center; clear:both; margin:1em 0 -0.5em 0;"> <div style="min-width:max-content;"><span class="noviewer noresize" typeof="mw:File"><a href="/wiki/Bestand:Wikibooks-logo.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/25px-Wikibooks-logo.svg.png" decoding="async" width="25" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/38px-Wikibooks-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/50px-Wikibooks-logo.svg.png 2x" data-file-width="300" data-file-height="300" /></a></span></div> <div><a href="/wiki/Wikibooks" title="Wikibooks">Wikibooks</a> heeft meer over dit onderwerp: <i><b><a href="https://nl.wikibooks.org/wiki/Programmeren_in_C%2B%2B" class="extiw" title="b:Programmeren in C++">Cursus programmeren in C++</a></b></i>.</div> </div> <style data-mw-deduplicate="TemplateStyles:r67837862">.mw-parser-output .navigatie{position:relative;clear:both;overflow:auto;margin:1em auto -0.5em;padding:2px;background-color:var(--background-color-neutral-subtle,#f8f9fa);border:1px solid var(--border-color-base,#a2a9b1);text-align:center;font-size:87%}.mw-parser-output .navigatie-bewerken{margin-left:0.5em}.mw-parser-output .navigatie-bewerken .mw-ui-icon::before{background-size:0.9em}.mw-parser-output .navigatie-afb-links,.mw-parser-output .navigatie-afb-rechts{position:absolute}.mw-parser-output .navigatie-afb-rechts{right:2px}.mw-parser-output .navigatie-afb-groot{float:right;padding-left:0.5em}.mw-parser-output .navigatie-titel{background-color:#ddeef8;padding:2px 5.5em;font-weight:bold}.mw-parser-output .navigatie-inhoud{padding:0.5em}.mw-parser-output .navigatie-inhoud p:first-child{margin:0}.mw-parser-output .navigatie div[style*="background-color"],.mw-parser-output .navigatie div[style*="background"]{color:inherit}@media screen{html.skin-theme-clientpref-night .mw-parser-output .navigatie-titel{background-color:var(--background-color-interactive,#eaecf0)!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navigatie-titel{background-color:var(--background-color-interactive,#eaecf0)!important}}</style> <div class="navigatie" role="navigation" aria-labelledby="Programmeertalen"> <div class="navigatie-afb-links noviewer"><div class="navigatie-bewerken show-autoconfirmed nomobile"><span class="nowrap skin-invert-image"><span typeof="mw:File"><a href="/wiki/Sjabloon:Navigatie_programmeertalen" title="Sjabloon:Navigatie programmeertalen"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/16px-OOjs_UI_icon_article-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/24px-OOjs_UI_icon_article-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c4/OOjs_UI_icon_article-ltr.svg/32px-OOjs_UI_icon_article-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span> · <span typeof="mw:File"><a href="https://en.wikipedia.org/wiki/nl:Overleg_sjabloon:Navigatie_programmeertalen" title="Overleg sjabloon"><img alt="Overleg sjabloon" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/16px-OOjs_UI_icon_speechBubbles-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/24px-OOjs_UI_icon_speechBubbles-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/40/OOjs_UI_icon_speechBubbles-ltr.svg/32px-OOjs_UI_icon_speechBubbles-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span> · <span typeof="mw:File"><a href="//nl.wikipedia.org/w/index.php?title=Sjabloon:Navigatie_programmeertalen&action=edit" title="Sjabloon bewerken"><img alt="Sjabloon bewerken" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/16px-OOjs_UI_icon_edit-ltr.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/24px-OOjs_UI_icon_edit-ltr.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr.svg/32px-OOjs_UI_icon_edit-ltr.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></span></div></div> <div id="Programmeertalen" class="navigatie-titel"><a href="/wiki/Programmeertaal" title="Programmeertaal">Programmeertalen</a></div> <div class="navigatie-inhoud"> <p><a href="/wiki/ABAP" title="ABAP">ABAP</a> · <a href="/wiki/ABC_(programmeertaal)" title="ABC (programmeertaal)">ABC</a> · <a href="/wiki/ActionScript" title="ActionScript">ActionScript</a> · <a href="/wiki/Ada_(programmeertaal)" title="Ada (programmeertaal)">Ada</a> · <a href="/wiki/Algol_(programmeertaal)" title="Algol (programmeertaal)">Algol</a> · <a href="/wiki/APL_(programmeertaal)" title="APL (programmeertaal)">APL</a> · <a href="/wiki/Assembleertaal" title="Assembleertaal">assembleertalen</a> · <a href="/wiki/AWK" title="AWK">AWK</a> · <a href="/wiki/B_(programmeertaal)" title="B (programmeertaal)">B</a> · <a href="/wiki/BASIC" title="BASIC">BASIC</a> · <a href="/wiki/BCPL" title="BCPL">BCPL</a> · <a href="/wiki/C_(programmeertaal)" title="C (programmeertaal)">C</a> · <a class="mw-selflink selflink">C++</a> · <a href="/wiki/C_Sharp" title="C Sharp">C#</a> · <a href="/wiki/Clean_(programmeertaal)" title="Clean (programmeertaal)">Clean</a> · <a href="/wiki/Clipper_(programmeertaal)" title="Clipper (programmeertaal)">Clipper</a> · <a href="/wiki/COBOL" title="COBOL">COBOL</a> · <a href="/wiki/COMAL" title="COMAL">COMAL</a> · <a href="/wiki/Curry_(programmeertaal)" title="Curry (programmeertaal)">Curry</a> · <a href="/wiki/D_(programmeertaal)" title="D (programmeertaal)">D</a> · <a href="/wiki/Eiffel_(programmeertaal)" title="Eiffel (programmeertaal)">Eiffel</a> · <a href="/wiki/Erlang_(programmeertaal)" title="Erlang (programmeertaal)">Erlang</a> · <a href="/wiki/F_Sharp" title="F Sharp">F#</a> · <a href="/wiki/Forth_(programmeertaal)" title="Forth (programmeertaal)">Forth</a> · <a href="/wiki/Fortran" title="Fortran">Fortran</a> · <a href="/wiki/Go_(programmeertaal)" title="Go (programmeertaal)">Go</a> · <a href="/wiki/Haskell_(programmeertaal)" title="Haskell (programmeertaal)">Haskell</a> · <a href="/wiki/Icon_(programmeertaal)" title="Icon (programmeertaal)">Icon</a> · <a href="/wiki/J_Sharp" title="J Sharp">J#</a> · <a href="/wiki/Java_(programmeertaal)" title="Java (programmeertaal)">Java</a> · <a href="/wiki/Julia_(programmeertaal)" title="Julia (programmeertaal)">Julia</a> · <a href="/wiki/Kotlin_(programmeertaal)" title="Kotlin (programmeertaal)">Kotlin</a> · <a href="/wiki/Lisp_(programmeertaal)" title="Lisp (programmeertaal)">Lisp</a> · <a href="/wiki/Logo_(programmeertaal)" title="Logo (programmeertaal)">Logo</a> · <a href="/wiki/Lua_(programmeertaal)" title="Lua (programmeertaal)">Lua</a> · <a href="/wiki/M4_(programmeertaal)" title="M4 (programmeertaal)">m4</a> · <a href="/wiki/ML_(programmeertaal)" title="ML (programmeertaal)">ML</a> · <a href="/wiki/Modula-2" title="Modula-2">Modula-2</a> · <a href="/wiki/Oberon_(programmeertaal)" title="Oberon (programmeertaal)">Oberon</a> · <a href="/wiki/Object_Pascal" title="Object Pascal">Object Pascal</a> · <a href="/wiki/Objective-C" title="Objective-C">Objective-C</a> · <a href="/wiki/Ocaml" title="Ocaml">Ocaml</a> · <a href="/wiki/Oz_(programmeertaal)" title="Oz (programmeertaal)">Oz</a> · <a href="/wiki/Pascal_(programmeertaal)" title="Pascal (programmeertaal)">Pascal</a> · <a href="/wiki/Perl_(programmeertaal)" title="Perl (programmeertaal)">Perl</a> · <a href="/wiki/PHP" title="PHP">PHP</a> · <a href="/wiki/PL/1" title="PL/1">PL/I</a> · <a href="/wiki/PL/SQL" title="PL/SQL">PL/SQL</a> · <a href="/wiki/Prolog" title="Prolog">Prolog</a> · <a href="/wiki/Prova_(programmeertaal)" title="Prova (programmeertaal)">Prova</a> · <a href="/wiki/Python_(programmeertaal)" title="Python (programmeertaal)">Python</a> · <a href="/wiki/Rexx" title="Rexx">Rexx</a> · <a href="/wiki/RPG_(programmeertaal)" title="RPG (programmeertaal)">RPG</a> · <a href="/wiki/Ruby_(programmeertaal)" title="Ruby (programmeertaal)">Ruby</a> · <a href="/wiki/Rust_(programmeertaal)" title="Rust (programmeertaal)">Rust</a> · <a href="/wiki/SAS_(programmeertaal)" title="SAS (programmeertaal)">SAS</a> · <a href="/wiki/Scala_(programmeertaal)" title="Scala (programmeertaal)">Scala</a> · <a href="/wiki/Scheme" title="Scheme">Scheme</a> · <a href="/wiki/Self_(programmeertaal)" title="Self (programmeertaal)">Self</a> · <a href="/wiki/Simula" title="Simula">Simula</a> · <a href="/wiki/Smalltalk_(programmeertaal)" title="Smalltalk (programmeertaal)">Smalltalk</a> · <a href="/wiki/Swift_(programmeertaal)" title="Swift (programmeertaal)">Swift</a> · <a href="/wiki/Tcl_(programmeertaal)" title="Tcl (programmeertaal)">TCL</a> · <a href="/wiki/TypeScript" title="TypeScript">TypeScript</a> · <a href="/wiki/Vala_(programmeertaal)" title="Vala (programmeertaal)">Vala</a> · <a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> · <a href="/wiki/Zig_(programmeertaal)" title="Zig (programmeertaal)">Zig</a> · </p> </div></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r67837862"><div class="navigatie mw-collapsible mw-collapsed" role="navigation" aria-labelledby="Bibliografische informatie" data-collapsetext="Inklappen" data-expandtext="Uitklappen"><div id="Bibliografische_informatie" class="navigatie-titel"><a href="/wiki/Wikipedia:Bibliografische_informatie" title="Wikipedia:Bibliografische informatie">Bibliografische informatie</a></div><div class="navigatie-inhoud mw-collapsible-content plainlist ta-left"><ul style="column-width:36em"><li><b><a href="/wiki/Biblioteca_Nacional_de_Espa%C3%B1a" title="Biblioteca Nacional de España">Biblioteca Nacional de España</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=XX540250">XX540250</a></span></li><li><b><a href="/wiki/Biblioth%C3%A8que_nationale_de_France" title="Bibliothèque nationale de France">Bibliothèque nationale de France</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="https://catalogue.bnf.fr/ark:/12148/cb12139768z">cb12139768z</a> <a rel="nofollow" class="external text" href="https://data.bnf.fr/ark:/12148/cb12139768z">(data)</a></span></li><li><b><a href="/wiki/Gemeinsame_Normdatei" title="Gemeinsame Normdatei">Gemeinsame Normdatei</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="https://d-nb.info/gnd/4193909-8">4193909-8</a></span></li><li><b><a href="/wiki/Library_of_Congress_Control_Number" title="Library of Congress Control Number">Library of Congress Control Number</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="https://id.loc.gov/authorities/subjects/sh87007505">sh87007505</a></span></li><li><b><a href="/wiki/Nationale_Bibliotheek_van_Tsjechi%C3%AB" title="Nationale Bibliotheek van Tsjechië">Nationale Bibliotheek van Tsjechië</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="https://aleph.nkp.cz/F/?func=find-c&local_base=aut&ccl_term=ica=ph116956&CON_LNG=ENG">ph116956</a></span></li><li><b><a href="/wiki/Nationale_Bibliotheek_van_Isra%C3%ABl" title="Nationale Bibliotheek van Israël">Nationale Bibliotheek van Israël</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="http://olduli.nli.org.il/F/?func=find-b&local_base=NLX10&find_code=UID&request=987007539277905171">987007539277905171</a></span></li><li><b><a href="/wiki/Syst%C3%A8me_universitaire_de_documentation" title="Système universitaire de documentation">Système universitaire de documentation</a>:</b> <span class="uid"><a rel="nofollow" class="external text" href="https://www.idref.fr/029859778">029859778</a></span></li></ul></div></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐6df7948d6c‐fwgcn Cached time: 20241127150010 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.192 seconds Real time usage: 0.291 seconds Preprocessor visited node count: 1969/1000000 Post‐expand include size: 23273/2097152 bytes Template argument size: 8001/2097152 bytes Highest expansion depth: 17/100 Expensive parser function count: 5/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 16917/5000000 bytes Lua time usage: 0.065/10.000 seconds Lua memory usage: 2435559/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 217.073 1 -total 69.09% 149.966 1 Sjabloon:Infobox_programmeertaal 67.48% 146.479 1 Sjabloon:Infobox_generiek 45.79% 99.394 8 Sjabloon:Wikidata 13.66% 29.649 1 Sjabloon:Authority_control 7.25% 15.734 1 Sjabloon:Navigatie_programmeertalen 6.58% 14.273 1 Sjabloon:Navigatie 6.46% 14.026 1 Sjabloon:PAGENAMEBASE 5.22% 11.330 1 Sjabloon:References 4.14% 8.976 1 Sjabloon:En --> <!-- Saved in parser cache with key nlwiki:pcache:idhash:1466-0!dateformat=default and timestamp 20241127150010 and revision id 68410820. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Overgenomen van "<a dir="ltr" href="https://nl.wikipedia.org/w/index.php?title=C%2B%2B&oldid=68410820">https://nl.wikipedia.org/w/index.php?title=C%2B%2B&oldid=68410820</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Categorie:Alles" title="Categorie:Alles">Categorie</a>: <ul><li><a href="/wiki/Categorie:C%2B%2B" title="Categorie:C++">C++</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Deze pagina is voor het laatst bewerkt op 21 nov 2024 om 09:55.</li> <li id="footer-info-copyright">De tekst is beschikbaar onder de licentie <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.nl">Creative Commons Naamsvermelding/Gelijk delen</a>, er kunnen aanvullende voorwaarden van toepassing zijn. Zie de <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use/nl">gebruiksvoorwaarden</a> voor meer informatie.<br /> Wikipedia® is een geregistreerd handelsmerk van de <a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org">Wikimedia Foundation, Inc.</a>, een organisatie zonder winstoogmerk.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacybeleid</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia">Over Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:Algemeen_voorbehoud">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Gedragscode</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Ontwikkelaars</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/nl.wikipedia.org">Statistieken</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookieverklaring</a></li> <li id="footer-places-mobileview"><a href="//nl.m.wikipedia.org/w/index.php?title=C%2B%2B&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobiele weergave</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-57488d5c7d-lrj7c","wgBackendResponseTime":137,"wgPageParseReport":{"limitreport":{"cputime":"0.192","walltime":"0.291","ppvisitednodes":{"value":1969,"limit":1000000},"postexpandincludesize":{"value":23273,"limit":2097152},"templateargumentsize":{"value":8001,"limit":2097152},"expansiondepth":{"value":17,"limit":100},"expensivefunctioncount":{"value":5,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":16917,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 217.073 1 -total"," 69.09% 149.966 1 Sjabloon:Infobox_programmeertaal"," 67.48% 146.479 1 Sjabloon:Infobox_generiek"," 45.79% 99.394 8 Sjabloon:Wikidata"," 13.66% 29.649 1 Sjabloon:Authority_control"," 7.25% 15.734 1 Sjabloon:Navigatie_programmeertalen"," 6.58% 14.273 1 Sjabloon:Navigatie"," 6.46% 14.026 1 Sjabloon:PAGENAMEBASE"," 5.22% 11.330 1 Sjabloon:References"," 4.14% 8.976 1 Sjabloon:En"]},"scribunto":{"limitreport-timeusage":{"value":"0.065","limit":"10.000"},"limitreport-memusage":{"value":2435559,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-6df7948d6c-fwgcn","timestamp":"20241127150010","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"C++","url":"https:\/\/nl.wikipedia.org\/wiki\/C%2B%2B","sameAs":"http:\/\/www.wikidata.org\/entity\/Q2407","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q2407","author":{"@type":"Organization","name":"Bijdragers aan Wikimedia-projecten"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-04-14T05:11:58Z","dateModified":"2024-11-21T08:55:08Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/1\/18\/ISO_C%2B%2B_Logo.svg","headline":"programmeertaal van Bjarne Stroustrup"}</script> </body> </html>