Files
hustoj/web/cppreference-zh/chmhelp/cpp-language-basic_concepts.html
2025-08-01 12:57:54 +08:00

34 lines
7.2 KiB
HTML

<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
<head><meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&#22522;&#26412;&#27010;&#24565;</title>
<link rel="stylesheet" href="ext.css" />
<link rel="stylesheet" href="site_modules.css" />
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_language_basic_concepts skin-cppreference2 action-view cpp-navbar">
<div id="cpp-content-base">
<div id="content"><a id="top"></a>
<h1 id="firstHeading" class="firstHeading">&#22522;&#26412;&#27010;&#24565;</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-language.html">language</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<p>&#26412;&#33410;&#23450;&#20041;&#20102;&#25551;&#36848; C++ &#32534;&#31243;&#35821;&#35328;&#26102;&#25152;&#20351;&#29992;&#30340;&#19968;&#20123;&#19987;&#38376;&#30340;&#26415;&#35821;&#19982;&#27010;&#24565;&#12290;</p>
<p>&#19968;&#20010; C++ &#31243;&#24207;&#26159;&#19968;&#20010;&#21547;&#26377;<a href="cpp-language-declarations.html">&#22768;&#26126;</a>&#30340;&#25991;&#26412;&#25991;&#20214;&#65288;&#36890;&#24120;&#20026;&#22836;&#25991;&#20214;&#19982;&#28304;&#25991;&#20214;&#65289;&#24207;&#21015;&#12290;&#23427;&#20204;&#34987;<a href="cpp-language-translation_phases.html">&#32763;&#35793;</a>&#25104;&#19968;&#20010;&#21487;&#25191;&#34892;&#31243;&#24207;&#65292;C++ &#23454;&#29616;&#36890;&#36807;&#35843;&#29992;&#20854;<a href="cpp-language-main_function.html">&#20027; (main) &#20989;&#25968;</a>&#25191;&#34892;&#36825;&#19968;&#31243;&#24207;&#12290;</p>
<p>&#22312; C++ &#31243;&#24207;&#20013;&#65292;&#19968;&#20123;&#34987;&#31216;&#20026;<a href="cpp-keyword.html">&#20851;&#38190;&#35789;</a>&#30340;&#35789;&#35821;&#26377;&#30528;&#29305;&#27530;&#30340;&#21547;&#20041;&#12290;&#20854;&#23427;&#35789;&#35821;&#21487;&#20197;&#34987;&#29992;&#20316;<a href="cpp-language-identifiers.html">&#26631;&#35782;&#31526;</a>&#12290;&#22312;&#32763;&#35793;&#30340;&#36807;&#31243;&#20013;&#65292;<a href="cpp-comment.html">&#27880;&#37322;</a>&#20250;&#34987;&#24573;&#30053;&#12290;C++ &#31243;&#24207;&#20063;&#21253;&#21547;<a href="cpp-language-expressions.html#.E5.AD.97.E9.9D.A2.E9.87.8F">&#23383;&#38754;&#37327;</a>&#65292;&#20854;&#20013;&#30340;&#23383;&#31526;&#30340;&#20540;&#30001;<a href="cpp-language-charset.html">&#23383;&#31526;&#38598;&#19982;&#32534;&#30721;</a>&#25351;&#23450;&#12290;&#31243;&#24207;&#20013;&#30340;&#26576;&#20123;&#29305;&#23450;&#23383;&#31526;&#24517;&#39035;&#36890;&#36807;<a href="cpp-language-escape.html">&#36716;&#20041;&#24207;&#21015;</a>&#34920;&#31034;&#12290;</p>
<p>C++ &#31243;&#24207;&#20013;&#30340;<i>&#23454;&#20307;</i>&#21253;&#25324;&#20540;&#12289;<a href="cpp-language-object.html">&#23545;&#35937;</a>&#12289;<a href="cpp-language-reference.html">&#24341;&#29992;</a><span class="t-rev-inl t-since-cxx17"><span><a href="cpp-language-structured_binding.html">&#12289;&#32467;&#26500;&#21270;&#32465;&#23450;</a></span> <span><span class="t-mark-rev t-since-cxx17">(C++17 &#36215;)</span></span></span>&#12289;<a href="cpp-language-functions.html">&#20989;&#25968;</a>&#12289;<a href="cpp-language-enum.html">&#26522;&#20030;&#39033;</a>&#12289;<a href="cpp-language-type.html">&#31867;&#22411;</a>&#12289;&#31867;&#25104;&#21592;&#12289;<a href="cpp-language-templates.html">&#27169;&#26495;</a>&#12289;<a href="cpp-language-template_specialization.html">&#27169;&#26495;&#29305;&#21270;</a>&#12289;<a href="cpp-language-namespace.html">&#21629;&#21517;&#31354;&#38388;</a>&#21644;<a href="cpp-language-parameter_pack.html">&#24418;&#21442;&#21253;</a>&#12290;&#39044;&#22788;&#29702;&#22120;<a href="cpp-preprocessor-replace.html">&#23439;</a>&#19981;&#26159; C++ &#23454;&#20307;&#12290;</p>
<p><i><a href="cpp-language-declarations.html">&#22768;&#26126;</a></i>&#21487;&#20197;&#24341;&#20837;&#23454;&#20307;&#65292;&#23558;&#23427;&#20204;&#19982;<a href="cpp-language-identifiers.html#.E5.90.8D.E5.AD.97">&#21517;&#23383;</a>&#20851;&#32852;&#36215;&#26469;&#65292;&#24182;&#23450;&#20041;&#20854;&#23646;&#24615;&#12290;&#33021;&#22815;&#23450;&#20041;&#20351;&#29992;&#19968;&#20010;&#23454;&#20307;&#25152;&#38656;&#30340;&#25152;&#26377;&#23646;&#24615;&#30340;&#22768;&#26126;&#26159;<a href="cpp-language-definition.html">&#23450;&#20041;</a>&#12290;&#23545;&#20219;&#20309;&#34987; <a href="cpp-language-definition.html#ODR_.E4.BD.BF.E7.94.A8">ODR &#20351;&#29992;</a>&#30340;&#38750;&#20869;&#32852;&#20989;&#25968;&#25110;&#21464;&#37327;&#65292;&#31243;&#24207;&#20013;&#24517;&#39035;&#21482;&#21547;&#26377;&#20854;&#19968;&#20010;&#23450;&#20041;&#12290;</p>
<p>&#20989;&#25968;&#30340;&#23450;&#20041;&#36890;&#24120;&#21253;&#25324;&#19968;&#31995;&#21015;&#30340;<a href="cpp-language-statements.html">&#35821;&#21477;</a>&#65292;&#20854;&#20013;&#37096;&#20998;&#20250;&#21253;&#21547;<a href="cpp-language-expressions.html">&#34920;&#36798;&#24335;</a>&#12290;&#34920;&#36798;&#24335;&#25351;&#23450;&#20102;&#31243;&#24207;&#38656;&#35201;&#36827;&#34892;&#30340;&#36816;&#31639;&#12290;</p>
<p>&#31243;&#24207;&#20013;&#36935;&#21040;&#30340;&#21517;&#23383;&#36890;&#36807;<a href="cpp-language-lookup.html">&#21517;&#23383;&#26597;&#25214;</a>&#19982;&#24341;&#20837;&#23427;&#20204;&#30340;&#22768;&#26126;&#20851;&#32852;&#36215;&#26469;&#12290;&#27599;&#20010;&#21517;&#23383;&#37117;&#21482;&#22312;&#31216;&#20026;&#20854;<a href="cpp-language-scope.html">&#20316;&#29992;&#22495;</a>&#30340;&#31243;&#24207;&#37096;&#20998;&#20013;&#26377;&#25928;&#12290;&#26377;&#20123;&#21517;&#23383;&#26377;<a href="cpp-language-storage_duration.html">&#38142;&#25509;</a>&#65292;&#36825;&#20351;&#24471;&#23427;&#20204;&#21363;&#20351;&#20986;&#29616;&#22312;&#19981;&#21516;&#30340;&#20316;&#29992;&#22495;&#25110;&#32763;&#35793;&#21333;&#20803;&#26102;&#20063;&#20195;&#34920;&#30456;&#21516;&#30340;&#23454;&#20307;&#12290;</p>
<p>C++ &#20013;&#30340;&#27599;&#19968;&#20010;&#23545;&#35937;&#12289;&#24341;&#29992;&#12289;&#20989;&#25968;&#21644;&#34920;&#36798;&#24335;&#37117;&#20250;&#20851;&#32852;&#19968;&#20010;<a href="cpp-language-type.html">&#31867;&#22411;</a>&#12290;&#31867;&#22411;&#21487;&#20197;&#20998;&#20026;<a href="cpp-language-types.html">&#22522;&#30784;&#31867;&#22411;</a>&#65292;&#22797;&#21512;&#31867;&#22411;&#65292;&#25110;<a href="cpp-language-classes.html">&#33258;&#23450;&#20041;&#31867;&#22411;</a>&#65292;&#20197;&#21450;&#23436;&#25972;&#25110;<a href="cpp-language-type.html#.E4.B8.8D.E5.AE.8C.E6.95.B4.E7.B1.BB.E5.9E.8B">&#19981;&#23436;&#25972;</a>&#30340;&#31867;&#22411;&#31561;&#12290;</p>
<p>&#34987;&#22768;&#26126;&#30340;&#19988;&#19981;&#26159;<a href="cpp-language-data_members.html">&#38750;&#38745;&#24577;&#25968;&#25454;&#25104;&#21592;</a>&#30340;&#23545;&#35937;&#21644;&#24341;&#29992;&#26159;<i>&#21464;&#37327;</i>&#12290;</p>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">&#21442;&#38405;</span></h3>
<table class="t-dsc-begin"></table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>