[{"data":1,"prerenderedAt":3296},["ShallowReactive",2],{"wiki-page-\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang":3,"wiki-doc-items-\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang":2875,"language-switcher-data-\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang":3280,"wiki-i18n-paths-\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang":3295},{"id":4,"title":5,"body":6,"canonicalPath":2856,"chapterDepth":2857,"chapterOrder":2858,"date":2859,"description":134,"docI18nKey":2860,"docKey":2861,"docRoot":2862,"docTitle":2863,"extension":2864,"i18nKey":2865,"isBlogPost":2866,"isWikiDoc":166,"isWikiIndex":2866,"layout":2867,"legacyPath":2867,"locale":2868,"localeSlug":2869,"meta":2870,"navigation":166,"path":2856,"seo":2871,"sourcePath":2872,"sourceStem":2865,"stem":2873,"wikiDepth":141,"__hash__":2874},"content\u002F_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0300-数据类型与数据存放.md","Data Types and Data Storage",{"type":7,"value":8,"toc":2843},"minimark",[9,14,18,26,33,103,107,113,123,128,327,332,340,349,353,358,361,371,374,415,419,660,664,670,674,680,687,692,697,710,712,869,873,879,882,1737,1743,1759,1763,1768,1774,1805,1843,1845,1944,1949,1955,1959,1965,1970,1981,1983,2049,2054,2065,2067,2128,2131,2136,2140,2145,2148,2156,2161,2163,2292,2296,2302,2306,2317,2368,2377,2381,2554,2557,2839],[10,11,13],"h2",{"id":12},"data-type","Data Type",[15,16,17],"h3",{"id":17},"integer",[19,20,21,25],"p",{},[22,23,24],"strong",{},"Function",": The integer variable represents ==integer type== data.",[19,27,28,29,32],{},"The types that can represent integers in C++ include the following, ",[22,30,31],{},"differing in the amount of memory space they occupy",":",[34,35,36,55],"table",{},[37,38,39],"thead",{},[40,41,42,47,52],"tr",{},[43,44,45],"th",{},[22,46,13],{},[43,48,49],{},[22,50,51],{},"Space Usage",[43,53,54],{},"value range",[56,57,58,70,81,92],"tbody",{},[40,59,60,64,67],{},[61,62,63],"td",{},"short (short integer type)",[61,65,66],{},"2 bytes",[61,68,69],{},"(-2^15 ~ 2^15-1)",[40,71,72,75,78],{},[61,73,74],{},"integer (int)",[61,76,77],{},"4 bytes",[61,79,80],{},"(-2^31 ~ 2^31-1)",[40,82,83,86,89],{},[61,84,85],{},"long (long integer)",[61,87,88],{},"Linux 64-bit systems typically allocate 8 bytes, whereas 32-bit environments usually allocate 4 bytes.",[61,90,91],{},"Determined by the platform bit width",[40,93,94,97,100],{},[61,95,96],{},"long long (long long integer)",[61,98,99],{},"8 bytes",[61,101,102],{},"(-2^63 ~ 2^63-1)",[15,104,106],{"id":105},"sizeof-keyword","sizeof keyword",[19,108,109,112],{},[22,110,111],{},"Purpose:"," The sizeof keyword ==determines the memory size occupied by a data type==.",[19,114,115,118,119],{},[22,116,117],{},"Syntax:"," ",[120,121,122],"code",{},"sizeof( 数据类型 \u002F 变量)",[19,124,125],{},[22,126,127],{},"Example:",[129,130,135],"pre",{"className":131,"code":132,"language":133,"meta":134,"style":134},"language-cpp shiki shiki-themes github-light github-dark","int main() {\n    \u002F\u002F 程序从 main 函数开始执行，下面的语句会按顺序运行。\n\n    cout \u003C\u003C \"short 类型所占内存空间为： \" \u003C\u003C sizeof(short) \u003C\u003C endl;\n\n    cout \u003C\u003C \"int 类型所占内存空间为： \" \u003C\u003C sizeof(int) \u003C\u003C endl;\n\n    cout \u003C\u003C \"long 类型所占内存空间为： \" \u003C\u003C sizeof(long) \u003C\u003C endl;\n\n    cout \u003C\u003C \"long long 类型所占内存空间为： \" \u003C\u003C sizeof(long long) \u003C\u003C endl;\n\n\n    \u002F\u002F 返回 0 表示程序正常结束。\n    return 0;\n}\n","cpp","",[120,136,137,154,161,168,201,206,230,235,260,265,292,297,302,308,321],{"__ignoreMap":134},[138,139,142,146,150],"span",{"class":140,"line":141},"line",1,[138,143,145],{"class":144},"szBVR","int",[138,147,149],{"class":148},"sScJk"," main",[138,151,153],{"class":152},"sVt8B","() {\n",[138,155,157],{"class":140,"line":156},2,[138,158,160],{"class":159},"sJ8bj","    \u002F\u002F 程序从 main 函数开始执行，下面的语句会按顺序运行。\n",[138,162,164],{"class":140,"line":163},3,[138,165,167],{"emptyLinePlaceholder":166},true,"\n",[138,169,171,174,177,181,184,187,190,193,196,198],{"class":140,"line":170},4,[138,172,173],{"class":152},"    cout ",[138,175,176],{"class":144},"\u003C\u003C",[138,178,180],{"class":179},"sZZnC"," \"short 类型所占内存空间为： \"",[138,182,183],{"class":144}," \u003C\u003C",[138,185,186],{"class":144}," sizeof",[138,188,189],{"class":152},"(",[138,191,192],{"class":144},"short",[138,194,195],{"class":152},") ",[138,197,176],{"class":144},[138,199,200],{"class":152}," endl;\n",[138,202,204],{"class":140,"line":203},5,[138,205,167],{"emptyLinePlaceholder":166},[138,207,209,211,213,216,218,220,222,224,226,228],{"class":140,"line":208},6,[138,210,173],{"class":152},[138,212,176],{"class":144},[138,214,215],{"class":179}," \"int 类型所占内存空间为： \"",[138,217,183],{"class":144},[138,219,186],{"class":144},[138,221,189],{"class":152},[138,223,145],{"class":144},[138,225,195],{"class":152},[138,227,176],{"class":144},[138,229,200],{"class":152},[138,231,233],{"class":140,"line":232},7,[138,234,167],{"emptyLinePlaceholder":166},[138,236,238,240,242,245,247,249,251,254,256,258],{"class":140,"line":237},8,[138,239,173],{"class":152},[138,241,176],{"class":144},[138,243,244],{"class":179}," \"long 类型所占内存空间为： \"",[138,246,183],{"class":144},[138,248,186],{"class":144},[138,250,189],{"class":152},[138,252,253],{"class":144},"long",[138,255,195],{"class":152},[138,257,176],{"class":144},[138,259,200],{"class":152},[138,261,263],{"class":140,"line":262},9,[138,264,167],{"emptyLinePlaceholder":166},[138,266,268,270,272,275,277,279,281,283,286,288,290],{"class":140,"line":267},10,[138,269,173],{"class":152},[138,271,176],{"class":144},[138,273,274],{"class":179}," \"long long 类型所占内存空间为： \"",[138,276,183],{"class":144},[138,278,186],{"class":144},[138,280,189],{"class":152},[138,282,253],{"class":144},[138,284,285],{"class":144}," long",[138,287,195],{"class":152},[138,289,176],{"class":144},[138,291,200],{"class":152},[138,293,295],{"class":140,"line":294},11,[138,296,167],{"emptyLinePlaceholder":166},[138,298,300],{"class":140,"line":299},12,[138,301,167],{"emptyLinePlaceholder":166},[138,303,305],{"class":140,"line":304},13,[138,306,307],{"class":159},"    \u002F\u002F 返回 0 表示程序正常结束。\n",[138,309,311,314,318],{"class":140,"line":310},14,[138,312,313],{"class":144},"    return",[138,315,317],{"class":316},"sj4cs"," 0",[138,319,320],{"class":152},";\n",[138,322,324],{"class":140,"line":323},15,[138,325,326],{"class":152},"}\n",[19,328,329],{},[22,330,331],{},"运行结果（类型大小或类型名可能随编译器和平台变化）：",[129,333,338],{"className":334,"code":336,"language":337,"meta":134},[335],"language-text","short 类型所占内存空间为： 2\nint 类型所占内存空间为： 4\nlong 类型所占内存空间为： 8\nlong long 类型所占内存空间为： 8\n","text",[120,339,336],{"__ignoreMap":134},[341,342,343],"blockquote",{},[19,344,345,348],{},[22,346,347],{},"Integer Type Conclusion",": ==short \u003C int \u003C= long \u003C= long long==",[15,350,352],{"id":351},"real-type-floating-point","Real type (floating-point)",[19,354,355,357],{},[22,356,24],{},": Used to ==represent decimals==",[19,359,360],{},"浮点型变量主要分为两种：单精度浮点型（float）和双精度浮点型（double）。",[362,363,364,368],"ol",{},[365,366,367],"li",{},"single-precision float",[365,369,370],{},"Double precision",[19,372,373],{},"The difference between the two lies in their different ranges of effective significant digits.",[34,375,376,393],{},[37,377,378],{},[40,379,380,384,388],{},[43,381,382],{},[22,383,13],{},[43,385,386],{},[22,387,51],{},[43,389,390],{},[22,391,392],{},"Range of significant figures",[56,394,395,405],{},[40,396,397,400,402],{},[61,398,399],{},"float",[61,401,77],{},[61,403,404],{},"7 significant figures",[40,406,407,410,412],{},[61,408,409],{},"double",[61,411,99],{},[61,413,414],{},"15-16 significant figures",[19,416,417],{},[22,418,127],{},[129,420,422],{"className":131,"code":421,"language":133,"meta":134,"style":134},"int main() {\n\n    float f1 = 3.14f;\n    double d1 = 3.14;\n\n    cout \u003C\u003C f1 \u003C\u003C endl;\n    cout \u003C\u003C d1\u003C\u003C endl;\n\n    cout \u003C\u003C \"float  sizeof = \" \u003C\u003C sizeof(f1) \u003C\u003C endl;\n    cout \u003C\u003C \"double sizeof = \" \u003C\u003C sizeof(d1) \u003C\u003C endl;\n\n    \u002F\u002F科学计数法\n    float f2 = 3e2; \u002F\u002F 3 * 10 ^ 2 \n    cout \u003C\u003C \"f2 = \" \u003C\u003C f2 \u003C\u003C endl;\n\n    float f3 = 3e-2;  \u002F\u002F 3 * 0.1 ^ 2\n    cout \u003C\u003C \"f3 = \" \u003C\u003C f3 \u003C\u003C endl;\n\n\n    return 0;\n}\n",[120,423,424,432,436,455,469,473,485,498,502,522,542,546,551,575,592,596,618,636,641,646,655],{"__ignoreMap":134},[138,425,426,428,430],{"class":140,"line":141},[138,427,145],{"class":144},[138,429,149],{"class":148},[138,431,153],{"class":152},[138,433,434],{"class":140,"line":156},[138,435,167],{"emptyLinePlaceholder":166},[138,437,438,441,444,447,450,453],{"class":140,"line":163},[138,439,440],{"class":144},"    float",[138,442,443],{"class":152}," f1 ",[138,445,446],{"class":144},"=",[138,448,449],{"class":316}," 3.14",[138,451,452],{"class":144},"f",[138,454,320],{"class":152},[138,456,457,460,463,465,467],{"class":140,"line":170},[138,458,459],{"class":144},"    double",[138,461,462],{"class":152}," d1 ",[138,464,446],{"class":144},[138,466,449],{"class":316},[138,468,320],{"class":152},[138,470,471],{"class":140,"line":203},[138,472,167],{"emptyLinePlaceholder":166},[138,474,475,477,479,481,483],{"class":140,"line":208},[138,476,173],{"class":152},[138,478,176],{"class":144},[138,480,443],{"class":152},[138,482,176],{"class":144},[138,484,200],{"class":152},[138,486,487,489,491,494,496],{"class":140,"line":232},[138,488,173],{"class":152},[138,490,176],{"class":144},[138,492,493],{"class":152}," d1",[138,495,176],{"class":144},[138,497,200],{"class":152},[138,499,500],{"class":140,"line":237},[138,501,167],{"emptyLinePlaceholder":166},[138,503,504,506,508,511,513,515,518,520],{"class":140,"line":262},[138,505,173],{"class":152},[138,507,176],{"class":144},[138,509,510],{"class":179}," \"float  sizeof = \"",[138,512,183],{"class":144},[138,514,186],{"class":144},[138,516,517],{"class":152},"(f1) ",[138,519,176],{"class":144},[138,521,200],{"class":152},[138,523,524,526,528,531,533,535,538,540],{"class":140,"line":267},[138,525,173],{"class":152},[138,527,176],{"class":144},[138,529,530],{"class":179}," \"double sizeof = \"",[138,532,183],{"class":144},[138,534,186],{"class":144},[138,536,537],{"class":152},"(d1) ",[138,539,176],{"class":144},[138,541,200],{"class":152},[138,543,544],{"class":140,"line":294},[138,545,167],{"emptyLinePlaceholder":166},[138,547,548],{"class":140,"line":299},[138,549,550],{"class":159},"    \u002F\u002F科学计数法\n",[138,552,553,555,558,560,563,566,569,572],{"class":140,"line":304},[138,554,440],{"class":144},[138,556,557],{"class":152}," f2 ",[138,559,446],{"class":144},[138,561,562],{"class":316}," 3",[138,564,565],{"class":144},"e",[138,567,568],{"class":316},"2",[138,570,571],{"class":152},";",[138,573,574],{"class":159}," \u002F\u002F 3 * 10 ^ 2 \n",[138,576,577,579,581,584,586,588,590],{"class":140,"line":310},[138,578,173],{"class":152},[138,580,176],{"class":144},[138,582,583],{"class":179}," \"f2 = \"",[138,585,183],{"class":144},[138,587,557],{"class":152},[138,589,176],{"class":144},[138,591,200],{"class":152},[138,593,594],{"class":140,"line":323},[138,595,167],{"emptyLinePlaceholder":166},[138,597,599,601,604,606,608,611,613,615],{"class":140,"line":598},16,[138,600,440],{"class":144},[138,602,603],{"class":152}," f3 ",[138,605,446],{"class":144},[138,607,562],{"class":316},[138,609,610],{"class":144},"e-",[138,612,568],{"class":316},[138,614,571],{"class":152},[138,616,617],{"class":159},"  \u002F\u002F 3 * 0.1 ^ 2\n",[138,619,621,623,625,628,630,632,634],{"class":140,"line":620},17,[138,622,173],{"class":152},[138,624,176],{"class":144},[138,626,627],{"class":179}," \"f3 = \"",[138,629,183],{"class":144},[138,631,603],{"class":152},[138,633,176],{"class":144},[138,635,200],{"class":152},[138,637,639],{"class":140,"line":638},18,[138,640,167],{"emptyLinePlaceholder":166},[138,642,644],{"class":140,"line":643},19,[138,645,167],{"emptyLinePlaceholder":166},[138,647,649,651,653],{"class":140,"line":648},20,[138,650,313],{"class":144},[138,652,317],{"class":316},[138,654,320],{"class":152},[138,656,658],{"class":140,"line":657},21,[138,659,326],{"class":152},[19,661,662],{},[22,663,331],{},[129,665,668],{"className":666,"code":667,"language":337,"meta":134},[335],"3.14\n3.14\nfloat  sizeof = 4\ndouble sizeof = 8\nf2 = 300\nf3 = 0.03\n",[120,669,667],{"__ignoreMap":134},[15,671,673],{"id":672},"character-type","character type",[19,675,676,679],{},[22,677,678],{},"Function:"," Character-type variables are used to display individual characters.",[19,681,682,118,684],{},[22,683,117],{},[120,685,686],{},"char ch = 'a';",[341,688,689],{},[19,690,691],{},"Note 1: When displaying character variables, enclose the character with single quotes, not double quotes.",[341,693,694],{},[19,695,696],{},"Note 2: Only one character can be inside single quotes, not a string.",[698,699,700,707],"ul",{},[365,701,702,703,706],{},"In C and C++, character variables occupy ",[22,704,705],{},"exactly 1 byte",".",[365,708,709],{},"A character variable does not store the character itself directly in memory; instead, it stores the corresponding ASCII encoding in a memory unit.",[19,711,127],{},[129,713,715],{"className":131,"code":714,"language":133,"meta":134,"style":134},"int main() {\n    \n    char ch = 'a';\n    cout \u003C\u003C ch \u003C\u003C endl;\n    cout \u003C\u003C sizeof(char) \u003C\u003C endl;\n\n    \u002F\u002Fch = \"abcde\"; \u002F\u002F错误，不可以用双引号\n    \u002F\u002Fch = 'abcde'; \u002F\u002F错误，单引号内只能引用一个字符\n\n    cout \u003C\u003C (int)ch \u003C\u003C endl;  \u002F\u002F查看字符a对应的ASCII码\n    ch = 97; \u002F\u002F可以直接用ASCII给字符型变量赋值\n    cout \u003C\u003C ch \u003C\u003C endl;\n\n\n    return 0;\n}\n",[120,716,717,725,730,745,757,776,780,788,796,800,822,837,849,853,857,865],{"__ignoreMap":134},[138,718,719,721,723],{"class":140,"line":141},[138,720,145],{"class":144},[138,722,149],{"class":148},[138,724,153],{"class":152},[138,726,727],{"class":140,"line":156},[138,728,729],{"class":152},"    \n",[138,731,732,735,738,740,743],{"class":140,"line":163},[138,733,734],{"class":144},"    char",[138,736,737],{"class":152}," ch ",[138,739,446],{"class":144},[138,741,742],{"class":179}," 'a'",[138,744,320],{"class":152},[138,746,747,749,751,753,755],{"class":140,"line":170},[138,748,173],{"class":152},[138,750,176],{"class":144},[138,752,737],{"class":152},[138,754,176],{"class":144},[138,756,200],{"class":152},[138,758,759,761,763,765,767,770,772,774],{"class":140,"line":203},[138,760,173],{"class":152},[138,762,176],{"class":144},[138,764,186],{"class":144},[138,766,189],{"class":152},[138,768,769],{"class":144},"char",[138,771,195],{"class":152},[138,773,176],{"class":144},[138,775,200],{"class":152},[138,777,778],{"class":140,"line":208},[138,779,167],{"emptyLinePlaceholder":166},[138,781,782,785],{"class":140,"line":232},[138,783,784],{"class":159},"    \u002F\u002Fch = \"abcde\";",[138,786,787],{"class":159}," \u002F\u002F错误，不可以用双引号\n",[138,789,790,793],{"class":140,"line":237},[138,791,792],{"class":159},"    \u002F\u002Fch = 'abcde';",[138,794,795],{"class":159}," \u002F\u002F错误，单引号内只能引用一个字符\n",[138,797,798],{"class":140,"line":262},[138,799,167],{"emptyLinePlaceholder":166},[138,801,802,804,806,809,811,814,816,819],{"class":140,"line":267},[138,803,173],{"class":152},[138,805,176],{"class":144},[138,807,808],{"class":152}," (",[138,810,145],{"class":144},[138,812,813],{"class":152},")ch ",[138,815,176],{"class":144},[138,817,818],{"class":152}," endl;",[138,820,821],{"class":159},"  \u002F\u002F查看字符a对应的ASCII码\n",[138,823,824,827,829,832,834],{"class":140,"line":294},[138,825,826],{"class":152},"    ch ",[138,828,446],{"class":144},[138,830,831],{"class":316}," 97",[138,833,571],{"class":152},[138,835,836],{"class":159}," \u002F\u002F可以直接用ASCII给字符型变量赋值\n",[138,838,839,841,843,845,847],{"class":140,"line":299},[138,840,173],{"class":152},[138,842,176],{"class":144},[138,844,737],{"class":152},[138,846,176],{"class":144},[138,848,200],{"class":152},[138,850,851],{"class":140,"line":304},[138,852,167],{"emptyLinePlaceholder":166},[138,854,855],{"class":140,"line":310},[138,856,167],{"emptyLinePlaceholder":166},[138,858,859,861,863],{"class":140,"line":323},[138,860,313],{"class":144},[138,862,317],{"class":316},[138,864,320],{"class":152},[138,866,867],{"class":140,"line":598},[138,868,326],{"class":152},[19,870,871],{},[22,872,331],{},[129,874,877],{"className":875,"code":876,"language":337,"meta":134},[335],"a\n1\n97\na\n",[120,878,876],{"__ignoreMap":134},[19,880,881],{},"ASCII code table:",[34,883,884,924],{},[37,885,886],{},[40,887,888,894,899,903,908,912,916,920],{},[43,889,890,893],{},[22,891,892],{},"ASCII"," value",[43,895,896],{},[22,897,898],{},"Control characters",[43,900,901,893],{},[22,902,892],{},[43,904,905],{},[22,906,907],{},"Character",[43,909,910,893],{},[22,911,892],{},[43,913,914],{},[22,915,907],{},[43,917,918,893],{},[22,919,892],{},[43,921,922],{},[22,923,907],{},[56,925,926,952,978,1003,1029,1055,1080,1105,1131,1156,1182,1208,1234,1259,1285,1310,1336,1360,1385,1410,1435,1460,1485,1510,1535,1560,1585,1610,1635,1660,1685,1711],{},[40,927,928,931,934,937,940,943,946,949],{},[61,929,930],{},"0",[61,932,933],{},"NUT",[61,935,936],{},"32",[61,938,939],{},"(space)",[61,941,942],{},"64",[61,944,945],{},"@",[61,947,948],{},"96",[61,950,951],{},"、",[40,953,954,957,960,963,966,969,972,975],{},[61,955,956],{},"1",[61,958,959],{},"SOH",[61,961,962],{},"33",[61,964,965],{},"!",[61,967,968],{},"65",[61,970,971],{},"A",[61,973,974],{},"97",[61,976,977],{},"a",[40,979,980,982,985,988,991,994,997,1000],{},[61,981,568],{},[61,983,984],{},"STX",[61,986,987],{},"34",[61,989,990],{},"\"",[61,992,993],{},"66",[61,995,996],{},"B",[61,998,999],{},"98",[61,1001,1002],{},"b",[40,1004,1005,1008,1011,1014,1017,1020,1023,1026],{},[61,1006,1007],{},"3",[61,1009,1010],{},"ETX",[61,1012,1013],{},"35",[61,1015,1016],{},"#",[61,1018,1019],{},"67",[61,1021,1022],{},"C",[61,1024,1025],{},"99",[61,1027,1028],{},"c",[40,1030,1031,1034,1037,1040,1043,1046,1049,1052],{},[61,1032,1033],{},"4",[61,1035,1036],{},"EOT",[61,1038,1039],{},"36",[61,1041,1042],{},"$",[61,1044,1045],{},"68",[61,1047,1048],{},"D",[61,1050,1051],{},"100",[61,1053,1054],{},"d",[40,1056,1057,1060,1063,1066,1069,1072,1075,1078],{},[61,1058,1059],{},"5",[61,1061,1062],{},"ENQ",[61,1064,1065],{},"37",[61,1067,1068],{},"%",[61,1070,1071],{},"69",[61,1073,1074],{},"E",[61,1076,1077],{},"101",[61,1079,565],{},[40,1081,1082,1085,1088,1091,1094,1097,1100,1103],{},[61,1083,1084],{},"6",[61,1086,1087],{},"ACK",[61,1089,1090],{},"38",[61,1092,1093],{},"&",[61,1095,1096],{},"70",[61,1098,1099],{},"F",[61,1101,1102],{},"102",[61,1104,452],{},[40,1106,1107,1110,1113,1116,1119,1122,1125,1128],{},[61,1108,1109],{},"7",[61,1111,1112],{},"BEL",[61,1114,1115],{},"39",[61,1117,1118],{},",",[61,1120,1121],{},"71",[61,1123,1124],{},"G",[61,1126,1127],{},"103",[61,1129,1130],{},"g",[40,1132,1133,1136,1139,1142,1144,1147,1150,1153],{},[61,1134,1135],{},"8",[61,1137,1138],{},"BS",[61,1140,1141],{},"40",[61,1143,189],{},[61,1145,1146],{},"72",[61,1148,1149],{},"H",[61,1151,1152],{},"104",[61,1154,1155],{},"h",[40,1157,1158,1161,1164,1167,1170,1173,1176,1179],{},[61,1159,1160],{},"9",[61,1162,1163],{},"HT",[61,1165,1166],{},"41",[61,1168,1169],{},")",[61,1171,1172],{},"73",[61,1174,1175],{},"I",[61,1177,1178],{},"105",[61,1180,1181],{},"i",[40,1183,1184,1187,1190,1193,1196,1199,1202,1205],{},[61,1185,1186],{},"10",[61,1188,1189],{},"LF",[61,1191,1192],{},"42",[61,1194,1195],{},"*",[61,1197,1198],{},"74",[61,1200,1201],{},"J",[61,1203,1204],{},"106",[61,1206,1207],{},"j",[40,1209,1210,1213,1216,1219,1222,1225,1228,1231],{},[61,1211,1212],{},"11",[61,1214,1215],{},"VT",[61,1217,1218],{},"43",[61,1220,1221],{},"+",[61,1223,1224],{},"75",[61,1226,1227],{},"K",[61,1229,1230],{},"107",[61,1232,1233],{},"k",[40,1235,1236,1239,1242,1245,1247,1250,1253,1256],{},[61,1237,1238],{},"12",[61,1240,1241],{},"FF",[61,1243,1244],{},"44",[61,1246,1118],{},[61,1248,1249],{},"76",[61,1251,1252],{},"L",[61,1254,1255],{},"108",[61,1257,1258],{},"l",[40,1260,1261,1264,1267,1270,1273,1276,1279,1282],{},[61,1262,1263],{},"13",[61,1265,1266],{},"CR",[61,1268,1269],{},"45",[61,1271,1272],{},"-",[61,1274,1275],{},"77",[61,1277,1278],{},"M",[61,1280,1281],{},"109",[61,1283,1284],{},"m",[40,1286,1287,1290,1293,1296,1298,1301,1304,1307],{},[61,1288,1289],{},"14",[61,1291,1292],{},"SO",[61,1294,1295],{},"46",[61,1297,706],{},[61,1299,1300],{},"78",[61,1302,1303],{},"N",[61,1305,1306],{},"110",[61,1308,1309],{},"n",[40,1311,1312,1315,1318,1321,1324,1327,1330,1333],{},[61,1313,1314],{},"15",[61,1316,1317],{},"SI",[61,1319,1320],{},"47",[61,1322,1323],{},"\u002F",[61,1325,1326],{},"79",[61,1328,1329],{},"O",[61,1331,1332],{},"111",[61,1334,1335],{},"o",[40,1337,1338,1341,1344,1347,1349,1352,1355,1358],{},[61,1339,1340],{},"16",[61,1342,1343],{},"DLE",[61,1345,1346],{},"48",[61,1348,930],{},[61,1350,1351],{},"80",[61,1353,1354],{},"P",[61,1356,1357],{},"112",[61,1359,19],{},[40,1361,1362,1365,1368,1371,1373,1376,1379,1382],{},[61,1363,1364],{},"17",[61,1366,1367],{},"DCI",[61,1369,1370],{},"49",[61,1372,956],{},[61,1374,1375],{},"81",[61,1377,1378],{},"Q",[61,1380,1381],{},"113",[61,1383,1384],{},"q",[40,1386,1387,1390,1393,1396,1398,1401,1404,1407],{},[61,1388,1389],{},"18",[61,1391,1392],{},"DC2",[61,1394,1395],{},"50",[61,1397,568],{},[61,1399,1400],{},"82",[61,1402,1403],{},"R",[61,1405,1406],{},"114",[61,1408,1409],{},"r",[40,1411,1412,1415,1418,1421,1423,1426,1429,1432],{},[61,1413,1414],{},"19",[61,1416,1417],{},"DC3",[61,1419,1420],{},"51",[61,1422,1007],{},[61,1424,1425],{},"83",[61,1427,1428],{},"S",[61,1430,1431],{},"115",[61,1433,1434],{},"s",[40,1436,1437,1440,1443,1446,1448,1451,1454,1457],{},[61,1438,1439],{},"20",[61,1441,1442],{},"DC4",[61,1444,1445],{},"52",[61,1447,1033],{},[61,1449,1450],{},"84",[61,1452,1453],{},"T",[61,1455,1456],{},"116",[61,1458,1459],{},"t",[40,1461,1462,1465,1468,1471,1473,1476,1479,1482],{},[61,1463,1464],{},"21",[61,1466,1467],{},"NAK",[61,1469,1470],{},"53",[61,1472,1059],{},[61,1474,1475],{},"85",[61,1477,1478],{},"U",[61,1480,1481],{},"117",[61,1483,1484],{},"u",[40,1486,1487,1490,1493,1496,1498,1501,1504,1507],{},[61,1488,1489],{},"22",[61,1491,1492],{},"SYN",[61,1494,1495],{},"54",[61,1497,1084],{},[61,1499,1500],{},"86",[61,1502,1503],{},"V",[61,1505,1506],{},"118",[61,1508,1509],{},"v",[40,1511,1512,1515,1518,1521,1523,1526,1529,1532],{},[61,1513,1514],{},"23",[61,1516,1517],{},"TB",[61,1519,1520],{},"55",[61,1522,1109],{},[61,1524,1525],{},"87",[61,1527,1528],{},"W",[61,1530,1531],{},"119",[61,1533,1534],{},"w",[40,1536,1537,1540,1543,1546,1548,1551,1554,1557],{},[61,1538,1539],{},"24",[61,1541,1542],{},"CAN",[61,1544,1545],{},"56",[61,1547,1135],{},[61,1549,1550],{},"88",[61,1552,1553],{},"X",[61,1555,1556],{},"120",[61,1558,1559],{},"x",[40,1561,1562,1565,1568,1571,1573,1576,1579,1582],{},[61,1563,1564],{},"25",[61,1566,1567],{},"EM",[61,1569,1570],{},"57",[61,1572,1160],{},[61,1574,1575],{},"89",[61,1577,1578],{},"Y",[61,1580,1581],{},"121",[61,1583,1584],{},"y",[40,1586,1587,1590,1593,1596,1598,1601,1604,1607],{},[61,1588,1589],{},"26",[61,1591,1592],{},"SUB",[61,1594,1595],{},"58",[61,1597,32],{},[61,1599,1600],{},"90",[61,1602,1603],{},"Z",[61,1605,1606],{},"122",[61,1608,1609],{},"z",[40,1611,1612,1615,1618,1621,1623,1626,1629,1632],{},[61,1613,1614],{},"27",[61,1616,1617],{},"ESC",[61,1619,1620],{},"59",[61,1622,571],{},[61,1624,1625],{},"91",[61,1627,1628],{},"[",[61,1630,1631],{},"123",[61,1633,1634],{},"{",[40,1636,1637,1640,1643,1646,1649,1652,1654,1657],{},[61,1638,1639],{},"28",[61,1641,1642],{},"FS",[61,1644,1645],{},"60",[61,1647,1648],{},"\u003C",[61,1650,1651],{},"92",[61,1653,1323],{},[61,1655,1656],{},"124",[61,1658,1659],{},"|",[40,1661,1662,1665,1668,1671,1673,1676,1679,1682],{},[61,1663,1664],{},"29",[61,1666,1667],{},"GS",[61,1669,1670],{},"61",[61,1672,446],{},[61,1674,1675],{},"93",[61,1677,1678],{},"]",[61,1680,1681],{},"125",[61,1683,1684],{},"}",[40,1686,1687,1690,1693,1696,1699,1702,1705,1708],{},[61,1688,1689],{},"30",[61,1691,1692],{},"RS",[61,1694,1695],{},"62",[61,1697,1698],{},">",[61,1700,1701],{},"94",[61,1703,1704],{},"^",[61,1706,1707],{},"126",[61,1709,1710],{},"`",[40,1712,1713,1716,1719,1722,1725,1728,1731,1734],{},[61,1714,1715],{},"31",[61,1717,1718],{},"US",[61,1720,1721],{},"63",[61,1723,1724],{},"?",[61,1726,1727],{},"95",[61,1729,1730],{},"_",[61,1732,1733],{},"127",[61,1735,1736],{},"DEL",[19,1738,1739,1740,32],{},"ASCII codes are roughly composed of the following ",[22,1741,1742],{},"two main parts",[698,1744,1745,1752],{},[365,1746,1747,1748,1751],{},"ASCII non-printing control characters: The numbers ",[22,1749,1750],{},"0-31"," on the ASCII table are assigned to control characters, which are used to control peripheral devices such as printers.",[365,1753,1754,1755,1758],{},"ASCII printable characters: numbers ",[22,1756,1757],{},"32-126"," are assigned to characters found on a keyboard, which appear when viewing or printing documents.",[15,1760,1762],{"id":1761},"escape-character","escape character",[19,1764,1765,1767],{},[22,1766,111],{}," Used to represent ==ASCII characters that cannot be displayed==",[19,1769,1770,1771],{},"Currently, the escape characters we commonly use are: ",[120,1772,1773],{}," \\n  \\\\  \\t",[34,1775,1776,1793],{},[37,1777,1778],{},[40,1779,1780,1785,1790],{},[43,1781,1782],{},[22,1783,1784],{},"Escape character",[43,1786,1787],{},[22,1788,1789],{},"Definition",[43,1791,1792],{},"ASCII code value (decimal)",[56,1794,1795],{},[40,1796,1797,1800,1803],{},[61,1798,1799],{},"\\a",[61,1801,1802],{},"警报",[61,1804],{},[19,1806,1807,1808,1659,1811,1659,1814,1817,1818,1659,1821,1659,1824,1827,1828,1659,1831,1659,1834,1837,1838,1842],{},"有什么具体问题需要我帮忙处理吗？|007|\n|\\b|Backspace (BS), moves the cursor to the previous column|008|\n|\\f|Page Break (FF), move the current position to the beginning of the next page.|012|\n|",[22,1809,1810],{},"\\n",[22,1812,1813],{},"Line Feed (LF), moves the current position to the beginning of the next line",[22,1815,1816],{},"010","|\n|\\r|Carriage Return (CR), which moves the cursor to the beginning of the current line.|013|\n|",[22,1819,1820],{},"\\t",[22,1822,1823],{},"Horizontal Tab (HT) (jump to the next tab position)",[22,1825,1826],{},"009","|\n|\\v|Vertical Tab (VT)|011|\n|",[22,1829,1830],{},"\\\\",[22,1832,1833],{},"Represents a backslash character \"\"",[22,1835,1836],{},"092","|\n|'|represent a single quotation mark (apostrophe) character|039|\n|\"|Represents a double quote character.|034|\n|?|Represents a question mark|063|\n|\\0|Number 0|000|\n|\\ddd|Octal escape characters, with d ranging from 0 to 7.|3-digit octal|\n|\\xhh|Hexadecimal escape characters, h range 0",[1839,1840,1841],"del",{},"9, a","f, A~F|3-digit hexadecimal|",[19,1844,127],{},[129,1846,1848],{"className":131,"code":1847,"language":133,"meta":134,"style":134},"int main() {\n    \u002F\u002F 程序从 main 函数开始执行，下面的语句会按顺序运行。\n    \n    \n    cout \u003C\u003C \"\\\\\" \u003C\u003C endl;\n    cout \u003C\u003C \"\\tHello\" \u003C\u003C endl;\n    cout \u003C\u003C \"\\n\" \u003C\u003C endl;\n\n\n    \u002F\u002F 返回 0 表示程序正常结束。\n    return 0;\n}\n",[120,1849,1850,1858,1862,1866,1870,1887,1904,1920,1924,1928,1932,1940],{"__ignoreMap":134},[138,1851,1852,1854,1856],{"class":140,"line":141},[138,1853,145],{"class":144},[138,1855,149],{"class":148},[138,1857,153],{"class":152},[138,1859,1860],{"class":140,"line":156},[138,1861,160],{"class":159},[138,1863,1864],{"class":140,"line":163},[138,1865,729],{"class":152},[138,1867,1868],{"class":140,"line":170},[138,1869,729],{"class":152},[138,1871,1872,1874,1876,1879,1881,1883,1885],{"class":140,"line":203},[138,1873,173],{"class":152},[138,1875,176],{"class":144},[138,1877,1878],{"class":179}," \"",[138,1880,1830],{"class":316},[138,1882,990],{"class":179},[138,1884,183],{"class":144},[138,1886,200],{"class":152},[138,1888,1889,1891,1893,1895,1897,1900,1902],{"class":140,"line":208},[138,1890,173],{"class":152},[138,1892,176],{"class":144},[138,1894,1878],{"class":179},[138,1896,1820],{"class":316},[138,1898,1899],{"class":179},"Hello\"",[138,1901,183],{"class":144},[138,1903,200],{"class":152},[138,1905,1906,1908,1910,1912,1914,1916,1918],{"class":140,"line":232},[138,1907,173],{"class":152},[138,1909,176],{"class":144},[138,1911,1878],{"class":179},[138,1913,1810],{"class":316},[138,1915,990],{"class":179},[138,1917,183],{"class":144},[138,1919,200],{"class":152},[138,1921,1922],{"class":140,"line":237},[138,1923,167],{"emptyLinePlaceholder":166},[138,1925,1926],{"class":140,"line":262},[138,1927,167],{"emptyLinePlaceholder":166},[138,1929,1930],{"class":140,"line":267},[138,1931,307],{"class":159},[138,1933,1934,1936,1938],{"class":140,"line":294},[138,1935,313],{"class":144},[138,1937,317],{"class":316},[138,1939,320],{"class":152},[138,1941,1942],{"class":140,"line":299},[138,1943,326],{"class":152},[19,1945,1946],{},[22,1947,1948],{},"运行结果：",[129,1950,1953],{"className":1951,"code":1952,"language":337,"meta":134},[335],"\\\n    Hello\n",[120,1954,1952],{"__ignoreMap":134},[15,1956,1958],{"id":1957},"string-type","String type",[19,1960,1961,1964],{},[22,1962,1963],{},"Purpose",": Used to represent a string of characters",[19,1966,1967],{},[22,1968,1969],{},"Two Styles",[362,1971,1972],{},[365,1973,1974,1977,1978],{},[22,1975,1976],{},"C-style string",": ",[120,1979,1980],{},"char 变量名[] = \"字符串值\"",[19,1982,127],{},[129,1984,1988],{"className":1985,"code":1986,"language":1987,"meta":134,"style":134},"language-C++ shiki shiki-themes github-light github-dark","int main() {\n\n    char str1[] = \"hello world\";\n    cout \u003C\u003C str1 \u003C\u003C endl;\n    \n\n    return 0;\n}\n","C++",[120,1989,1990,1998,2002,2016,2029,2033,2037,2045],{"__ignoreMap":134},[138,1991,1992,1994,1996],{"class":140,"line":141},[138,1993,145],{"class":144},[138,1995,149],{"class":148},[138,1997,153],{"class":152},[138,1999,2000],{"class":140,"line":156},[138,2001,167],{"emptyLinePlaceholder":166},[138,2003,2004,2006,2009,2011,2014],{"class":140,"line":163},[138,2005,734],{"class":144},[138,2007,2008],{"class":152}," str1[] ",[138,2010,446],{"class":144},[138,2012,2013],{"class":179}," \"hello world\"",[138,2015,320],{"class":152},[138,2017,2018,2020,2022,2025,2027],{"class":140,"line":170},[138,2019,173],{"class":152},[138,2021,176],{"class":144},[138,2023,2024],{"class":152}," str1 ",[138,2026,176],{"class":144},[138,2028,200],{"class":152},[138,2030,2031],{"class":140,"line":203},[138,2032,729],{"class":152},[138,2034,2035],{"class":140,"line":208},[138,2036,167],{"emptyLinePlaceholder":166},[138,2038,2039,2041,2043],{"class":140,"line":232},[138,2040,313],{"class":144},[138,2042,317],{"class":316},[138,2044,320],{"class":152},[138,2046,2047],{"class":140,"line":237},[138,2048,326],{"class":152},[341,2050,2051],{},[19,2052,2053],{},"Note: C-style strings should be enclosed in double quotes.",[362,2055,2056],{},[365,2057,2058,2061,2062],{},[22,2059,2060],{},"C++ style strings",":  ",[120,2063,2064],{},"string  变量名 = \"字符串值\"",[19,2066,127],{},[129,2068,2070],{"className":1985,"code":2069,"language":1987,"meta":134,"style":134},"int main() {\n\n    string str = \"hello world\";\n    cout \u003C\u003C str \u003C\u003C endl;\n    \n\n    return 0;\n}\n",[120,2071,2072,2080,2084,2095,2108,2112,2116,2124],{"__ignoreMap":134},[138,2073,2074,2076,2078],{"class":140,"line":141},[138,2075,145],{"class":144},[138,2077,149],{"class":148},[138,2079,153],{"class":152},[138,2081,2082],{"class":140,"line":156},[138,2083,167],{"emptyLinePlaceholder":166},[138,2085,2086,2089,2091,2093],{"class":140,"line":163},[138,2087,2088],{"class":152},"    string str ",[138,2090,446],{"class":144},[138,2092,2013],{"class":179},[138,2094,320],{"class":152},[138,2096,2097,2099,2101,2104,2106],{"class":140,"line":170},[138,2098,173],{"class":152},[138,2100,176],{"class":144},[138,2102,2103],{"class":152}," str ",[138,2105,176],{"class":144},[138,2107,200],{"class":152},[138,2109,2110],{"class":140,"line":203},[138,2111,729],{"class":152},[138,2113,2114],{"class":140,"line":208},[138,2115,167],{"emptyLinePlaceholder":166},[138,2117,2118,2120,2122],{"class":140,"line":232},[138,2119,313],{"class":144},[138,2121,317],{"class":316},[138,2123,320],{"class":152},[138,2125,2126],{"class":140,"line":237},[138,2127,326],{"class":152},[19,2129,2130],{},"​",[341,2132,2133],{},[19,2134,2135],{},"Note: C++ style strings require the header ==#include\u003Cstring>==.",[15,2137,2139],{"id":2138},"boolean-type-bool","Boolean type bool",[19,2141,2142,2144],{},[22,2143,678],{}," The Boolean data type represents true or false values.",[19,2146,2147],{},"A bool type has only two values:",[698,2149,2150,2153],{},[365,2151,2152],{},"true --- true (essentially 1)",[365,2154,2155],{},"false --- false (essentially 0)",[19,2157,2158],{},[22,2159,2160],{},"bool type occupies ==exactly 1 byte== in size",[19,2162,127],{},[129,2164,2166],{"className":131,"code":2165,"language":133,"meta":134,"style":134},"int main() {\n\n    bool flag = true;\n    cout \u003C\u003C flag \u003C\u003C endl; \u002F\u002F 1\n\n    flag = false;\n    cout \u003C\u003C flag \u003C\u003C endl; \u002F\u002F 0\n\n    cout \u003C\u003C \"size of bool = \" \u003C\u003C sizeof(bool) \u003C\u003C endl; \u002F\u002F1\n    \n\n    return 0;\n}\n",[120,2167,2168,2176,2180,2195,2210,2214,2226,2241,2245,2272,2276,2280,2288],{"__ignoreMap":134},[138,2169,2170,2172,2174],{"class":140,"line":141},[138,2171,145],{"class":144},[138,2173,149],{"class":148},[138,2175,153],{"class":152},[138,2177,2178],{"class":140,"line":156},[138,2179,167],{"emptyLinePlaceholder":166},[138,2181,2182,2185,2188,2190,2193],{"class":140,"line":163},[138,2183,2184],{"class":144},"    bool",[138,2186,2187],{"class":152}," flag ",[138,2189,446],{"class":144},[138,2191,2192],{"class":316}," true",[138,2194,320],{"class":152},[138,2196,2197,2199,2201,2203,2205,2207],{"class":140,"line":170},[138,2198,173],{"class":152},[138,2200,176],{"class":144},[138,2202,2187],{"class":152},[138,2204,176],{"class":144},[138,2206,818],{"class":152},[138,2208,2209],{"class":159}," \u002F\u002F 1\n",[138,2211,2212],{"class":140,"line":203},[138,2213,167],{"emptyLinePlaceholder":166},[138,2215,2216,2219,2221,2224],{"class":140,"line":208},[138,2217,2218],{"class":152},"    flag ",[138,2220,446],{"class":144},[138,2222,2223],{"class":316}," false",[138,2225,320],{"class":152},[138,2227,2228,2230,2232,2234,2236,2238],{"class":140,"line":232},[138,2229,173],{"class":152},[138,2231,176],{"class":144},[138,2233,2187],{"class":152},[138,2235,176],{"class":144},[138,2237,818],{"class":152},[138,2239,2240],{"class":159}," \u002F\u002F 0\n",[138,2242,2243],{"class":140,"line":237},[138,2244,167],{"emptyLinePlaceholder":166},[138,2246,2247,2249,2251,2254,2256,2258,2260,2263,2265,2267,2269],{"class":140,"line":262},[138,2248,173],{"class":152},[138,2250,176],{"class":144},[138,2252,2253],{"class":179}," \"size of bool = \"",[138,2255,183],{"class":144},[138,2257,186],{"class":144},[138,2259,189],{"class":152},[138,2261,2262],{"class":144},"bool",[138,2264,195],{"class":152},[138,2266,176],{"class":144},[138,2268,818],{"class":152},[138,2270,2271],{"class":159}," \u002F\u002F1\n",[138,2273,2274],{"class":140,"line":267},[138,2275,729],{"class":152},[138,2277,2278],{"class":140,"line":294},[138,2279,167],{"emptyLinePlaceholder":166},[138,2281,2282,2284,2286],{"class":140,"line":299},[138,2283,313],{"class":144},[138,2285,317],{"class":316},[138,2287,320],{"class":152},[138,2289,2290],{"class":140,"line":304},[138,2291,326],{"class":152},[19,2293,2294],{},[22,2295,331],{},[129,2297,2300],{"className":2298,"code":2299,"language":337,"meta":134},[335],"1\n0\nsize of bool = 1\n",[120,2301,2299],{"__ignoreMap":134},[15,2303,2305],{"id":2304},"type-alias-typedef","type alias typedef",[19,2307,2308,2309,2312,2313,2316],{},"C\u002FC++ provides the ",[22,2310,2311],{},"typedef"," keyword, which you can use to assign a new name to a type. The following example defines the term ",[22,2314,2315],{},"BYTE"," for a single-byte number:",[129,2318,2320],{"className":131,"code":2319,"language":133,"meta":134,"style":134},"typedef unsigned char byte;\ntypedef unsigned char uint8_t;\ntypedef float fp32;\ntypedef double fp64;\n",[120,2321,2322,2335,2348,2358],{"__ignoreMap":134},[138,2323,2324,2326,2329,2332],{"class":140,"line":141},[138,2325,2311],{"class":144},[138,2327,2328],{"class":144}," unsigned",[138,2330,2331],{"class":144}," char",[138,2333,2334],{"class":152}," byte;\n",[138,2336,2337,2339,2341,2343,2346],{"class":140,"line":156},[138,2338,2311],{"class":144},[138,2340,2328],{"class":144},[138,2342,2331],{"class":144},[138,2344,2345],{"class":144}," uint8_t",[138,2347,320],{"class":152},[138,2349,2350,2352,2355],{"class":140,"line":163},[138,2351,2311],{"class":144},[138,2353,2354],{"class":144}," float",[138,2356,2357],{"class":152}," fp32;\n",[138,2359,2360,2362,2365],{"class":140,"line":170},[138,2361,2311],{"class":144},[138,2363,2364],{"class":144}," double",[138,2366,2367],{"class":152}," fp64;\n",[19,2369,2370,2372,2373,2376],{},[22,2371,1948],{}," 此代码块不含 ",[120,2374,2375],{},"main"," 函数，是语法、接口或分文件示例，不能独立运行，因此没有终端输出。",[15,2378,2380],{"id":2379},"data-units-binary-and-complement-code","Data Units, Binary, and Complement Code",[362,2382,2383,2478,2503,2514],{},[365,2384,2385,2386],{},"Data units and their conversion",[362,2387,2388,2393,2399,2415,2426],{},[365,2389,2390],{},[22,2391,2392],{},"1 byte = 8 bits = 8 binary digits",[365,2394,2395,2396,706],{},"Data exists in computer memory in the form of ",[22,2397,2398],{},"binary",[365,2400,2401,2402],{},"Number system conversion",[362,2403,2404],{},[365,2405,2406,2407,2410,2411,2414],{},"In C, data starting with ",[120,2408,2409],{},"0b"," represents binary, and data starting with ",[120,2412,2413],{},"0x"," represents hexadecimal. Since binary notation is lengthy, we typically convert binary values to hexadecimal for representation in code.",[365,2416,2417,2418],{},"The original code of the data",[362,2419,2420,2423],{},[365,2421,2422],{},"Unsigned data types: All bits in unsigned data represent the magnitude of the value. Assuming it occupies 8 binary bits, the maximum value is 255 (corresponding binary: 1111 1111), and the minimum value is 0 (corresponding binary: 0000 0000).",[365,2424,2425],{},"Signed data types: In signed data, the highest bit in binary serves as the sign bit — a 0 indicates a positive number, and a 1 indicates a negative number. Assuming an 8-bit binary representation, after removing 1 bit for the sign, 7 bits remain to represent the magnitude of the number. The maximum value is 127 (binary 0111 1111), and the minimum is -128 (binary 1000 0000; -127 is 1111 1111). This -128 actually uses the binary representation of -0, because we already have 0 (0000 0000), so -0 (theoretically 1000 0000) has no practical meaning. Therefore, we define the binary representation of -0 as -128.",[365,2427,2428,2429,2471,2474],{},"Data Naming:",[362,2430,2431,2454],{},[365,2432,2433,2434],{},"Because data type names such as unsigned char and int do not clearly indicate the binary representation, sign, and bit length of the data, we use typedef to assign new aliases (such as uint8_t, int32_t, etc.).",[362,2435,2436,2439,2442,2445,2448,2451],{},[365,2437,2438],{},"In uint8_t, the \"u\" stands for \"unsigned\" (non-negative), and the \"8\" indicates it occupies 8 bits in binary, which is equivalent to 1 byte.",[365,2440,2441],{},"int32_t lacks the 'u' prefix, so it is signed. It occupies 32 bits in binary, which translates to 4 bytes, making it a typedef alias for the int type.",[365,2443,2444],{},"Since char takes up 1 byte, 8 bits, 8 binary digits, and is signed, we call it int8_t.",[365,2446,2447],{},"Since an unsigned short int is unsigned and occupies 2 bytes (16 bits), it is called uint16_t, and the same logic applies to other similar types.",[365,2449,2450],{},"float occupies 4 bytes, or 32 bits in binary, which is why it is called fp32.",[365,2452,2453],{},"double occupies 8 bytes, or 64 bits in binary, which is why it is called fp64.",[365,2455,2456,2457],{},"Specific code (C++ includes some aliases by default; you can omit some aliases, but it's recommended to write them):",[362,2458,2459,2462,2465,2468],{},[365,2460,2461],{},"typedef unsigned char uint8_t;",[365,2463,2464],{},"typedef short int int16_t;",[365,2466,2467],{},"typedef unsigned int uint32_t;",[365,2469,2470],{},"typedef float fp32;",[2472,2473],"br",{},[2475,2476],"img",{"alt":134,"src":2477},"https:\u002F\u002Fcdn.tungchiahui.cn\u002Ftungwebsite\u002Fassets\u002Fimages\u002F2023\u002F10\u002F05\u002Fimage3.webp",[365,2479,2480,2481],{},"Data Parsing",[362,2482,2483,2486,2489,2492,2495],{},[365,2484,2485],{},"Application Scenario Introduction: Sensors typically continuously send data to our microcontroller or industrial PC. For example, they might transmit the distance traveled by our robot (assuming the unit is millimeters and the value is a short integer).",[365,2487,2488],{},"Data processing goal: for example, obtaining distance (short integer, 2 bytes, 16-bit binary).",[365,2490,2491],{},"Sensor data transmission: In typical communication, sensors send data byte by byte continuously to microcontrollers and industrial PCs. Generally, a physical quantity that occupies n bytes is split into n bytes, meaning n variables, for transmission. Since data is stored in binary form, the highest 8 bits are usually sent first.",[365,2493,2494],{},"Data received by the microcontroller and industrial computer: For example, to obtain the robot's traveled distance, this data occupies 2 bytes, so the sensor must split it into two variables for transmission. The variable received first is called DH (the high 8 bits of the data in binary), and the variable received later is called DL (the low 8 bits of the data in binary).",[365,2496,2497,2498],{},"Data Processing Approach: We currently have two ordinary 8-bit binary variables (of type uint8_t), and we want to obtain a signed 16-bit binary value—specifically, the robot's distance (of type int16_t).",[362,2499,2500],{},[365,2501,2502],{},"Bit manipulation: For example, if DH is 0x9D (binary 1001 1101) and DL is 0x57 (binary 0101 0111), then the 16-bit data we want is formed by treating DH as the upper 8 bits and DL as the lower 8 bits — that is, the desired DATA (binary 1001 1101 0101 0111). To achieve this, we need bit manipulation: shift DH left by 8 bits to get 1001 1101 0000 0000, then perform a bitwise OR between the shifted DH and DL — that is, 1001 1101 0000 0000 OR 0000 0000 0101 0111 — which finally yields DATA as 1001 1101 0101 0111.",[365,2504,2505,2506,2509,2510,2513],{},"Type casting: We have already derived the binary representation of ",[120,2507,2508],{},"data",". Next, we cast it to a signed number, which means treating the highest bit as the sign bit. The specific code is ",[120,2511,2512],{},"int16_t DATA = (int16_t)((uint16_t)DH \u003C\u003C 8)",".|DL ), and that's how it's successfully processed.",[365,2515,2516,2517],{},"Binary representation of data in memory",[362,2518,2519,2540],{},[365,2520,2521,2522],{},"Prerequisite Knowledge for Computer Data Storage",[362,2523,2524,2531,2534],{},[365,2525,2526,2527,2530],{},"When computers store data at the hardware level, they use binary numbers. However, when storing a number, the computer does not directly store the binary representation of that number. Instead, it stores the ",[22,2528,2529],{},"two's complement"," of the number's binary form.",[365,2532,2533],{},"Machine code: The storage form of a number in a computer is a binary number. We refer to these binary numbers as machine numbers. Machine numbers are signed; in a computer, the sign bit is stored to the left of the second-highest bit of the machine number, where 0 represents a positive number and 1 represents a negative number.",[365,2535,2536,2537],{},"True value: Because machine numbers include a sign bit, their formal value is not equal to the actual value they represent (true value). Taking the machine number 1000 0001 as an example, the actual value it represents (with the first bit as the sign bit) is -1, while its formal value (where the first bit represents 1) is 129. ",[22,2538,2539],{},"Therefore, the actual value represented by a signed machine number is called its true value.",[365,2541,2542,2545],{},[22,2543,2544],{},"Original Code, One's Complement, Two's Complement:",[362,2546,2547],{},[365,2548,2549,2550,2553],{},"The representation of the ",[22,2551,2552],{},"true form"," is the same as the representation of the true value of a machine number, i.e., the first bit indicates the sign, and the remaining bits represent the magnitude. That is,",[19,2555,2556],{},"Positive numbers: they are their corresponding binary numbers. Negative numbers: change the leftmost bit of the binary representation of the absolute value to 1.",[129,2558,2563],{"className":2559,"code":2560,"language":2561,"meta":2562,"style":134},"language-Plain shiki shiki-themes github-light github-dark","【+1】= 原：[ 0000 0001 ]\n【-1】= 原：[ 1000 0001 ]\n```\n4.  **One's complement:**\n\nPositive numbers: Same as the original code.  \nNegative numbers: Based on their original code, the sign bit remains unchanged, and all other bits are inverted.\n\n```Java\n【+1】= 原： [ 0000 0001 ] = 反：[ 0000 0001 ]\n【-1】= 原： [ 1000 0001 ] = 反：[ 1111 1110 ]\n```\n7.  **Two's complement**:\n\nPositive numbers: Their two's complement is the same as their original code.  \nNegative numbers: The two's complement is obtained by keeping the sign bit unchanged, inverting all other bits, and then adding 1 (i.e., adding 1 to the one's complement).\n\n```Java\n【+1】= 原： [ 0000 0001 ] = 反：[ 0000 0001 ] = 补：[ 0000 0001 ]\n【-1】= 原： [ 1000 0001 ] = 反：[ 1111 1110 ] = 补：[ 1111 1111 ]\n```\n\n3.  Data storage format in a computer.\n\n1.  Computers actually only store two's complement, so the process of converting from sign-magnitude to two's complement can also be understood as the process of storing data into computer memory:\n\n![](https:\u002F\u002Fcdn.tungchiahui.cn\u002Ftungwebsite\u002Fassets\u002Fimages\u002F2023\u002F10\u002F05\u002Fimage4.webp)\n\n3.  Positive numbers: In original, one's complement, and two's complement codes, the representation of positive numbers is exactly the same.\n\n4.  Negative numbers: The representation of negative numbers differs, so for the two's complement of a negative number, we cannot directly convert it to a decimal value using base conversion, because that would not yield the actual decimal number stored in the computer. Instead, we should first convert it to its original code (sign-magnitude representation), and then convert that original code to a decimal number (machine numbers include the sign bit).\n\n5.  Why were sign-magnitude, ones' complement, and two's complement created?\n\n    1.  Reason: For addition and subtraction operations involving only positive numbers, using the original code poses no issues. However, when both positive and negative numbers are present, the computer cannot determine whether the most significant bit is a sign bit.\n\n4.  Summary:\n\n1.  **The *****most significant bit***** of binary is the sign bit: 0 indicates a positive number, 1 indicates a negative number.**\n\n2.  The original code, inverse code, and two's complement of a positive number are all the same — the three codes are unified.\n\n3.  Negative number\n\n    1.  The one's complement of a negative number = keep its sign bit unchanged, and invert all other bits.\n\n    2.  The two's complement of a negative number = its one's complement + 1. The one's complement of a negative number = the two's complement of the negative number - 1.\n\n4.  The one's complement and two's complement of 0 are both 0.\n\n5.  **When computers perform calculations, they always do so using \"two's complement\" representation.**\n\n6.  The result of the operation is displayed in **original code** form.\n","Plain","Text",[120,2564,2565,2570,2575,2580,2585,2589,2594,2599,2603,2608,2613,2618,2622,2627,2631,2636,2641,2645,2649,2654,2659,2663,2668,2674,2679,2685,2690,2696,2701,2707,2712,2718,2723,2729,2734,2740,2745,2751,2756,2762,2767,2773,2778,2784,2789,2795,2800,2806,2811,2817,2822,2828,2833],{"__ignoreMap":134},[138,2566,2567],{"class":140,"line":141},[138,2568,2569],{},"【+1】= 原：[ 0000 0001 ]\n",[138,2571,2572],{"class":140,"line":156},[138,2573,2574],{},"【-1】= 原：[ 1000 0001 ]\n",[138,2576,2577],{"class":140,"line":163},[138,2578,2579],{},"```\n",[138,2581,2582],{"class":140,"line":170},[138,2583,2584],{},"4.  **One's complement:**\n",[138,2586,2587],{"class":140,"line":203},[138,2588,167],{"emptyLinePlaceholder":166},[138,2590,2591],{"class":140,"line":208},[138,2592,2593],{},"Positive numbers: Same as the original code.  \n",[138,2595,2596],{"class":140,"line":232},[138,2597,2598],{},"Negative numbers: Based on their original code, the sign bit remains unchanged, and all other bits are inverted.\n",[138,2600,2601],{"class":140,"line":237},[138,2602,167],{"emptyLinePlaceholder":166},[138,2604,2605],{"class":140,"line":262},[138,2606,2607],{},"```Java\n",[138,2609,2610],{"class":140,"line":267},[138,2611,2612],{},"【+1】= 原： [ 0000 0001 ] = 反：[ 0000 0001 ]\n",[138,2614,2615],{"class":140,"line":294},[138,2616,2617],{},"【-1】= 原： [ 1000 0001 ] = 反：[ 1111 1110 ]\n",[138,2619,2620],{"class":140,"line":299},[138,2621,2579],{},[138,2623,2624],{"class":140,"line":304},[138,2625,2626],{},"7.  **Two's complement**:\n",[138,2628,2629],{"class":140,"line":310},[138,2630,167],{"emptyLinePlaceholder":166},[138,2632,2633],{"class":140,"line":323},[138,2634,2635],{},"Positive numbers: Their two's complement is the same as their original code.  \n",[138,2637,2638],{"class":140,"line":598},[138,2639,2640],{},"Negative numbers: The two's complement is obtained by keeping the sign bit unchanged, inverting all other bits, and then adding 1 (i.e., adding 1 to the one's complement).\n",[138,2642,2643],{"class":140,"line":620},[138,2644,167],{"emptyLinePlaceholder":166},[138,2646,2647],{"class":140,"line":638},[138,2648,2607],{},[138,2650,2651],{"class":140,"line":643},[138,2652,2653],{},"【+1】= 原： [ 0000 0001 ] = 反：[ 0000 0001 ] = 补：[ 0000 0001 ]\n",[138,2655,2656],{"class":140,"line":648},[138,2657,2658],{},"【-1】= 原： [ 1000 0001 ] = 反：[ 1111 1110 ] = 补：[ 1111 1111 ]\n",[138,2660,2661],{"class":140,"line":657},[138,2662,2579],{},[138,2664,2666],{"class":140,"line":2665},22,[138,2667,167],{"emptyLinePlaceholder":166},[138,2669,2671],{"class":140,"line":2670},23,[138,2672,2673],{},"3.  Data storage format in a computer.\n",[138,2675,2677],{"class":140,"line":2676},24,[138,2678,167],{"emptyLinePlaceholder":166},[138,2680,2682],{"class":140,"line":2681},25,[138,2683,2684],{},"1.  Computers actually only store two's complement, so the process of converting from sign-magnitude to two's complement can also be understood as the process of storing data into computer memory:\n",[138,2686,2688],{"class":140,"line":2687},26,[138,2689,167],{"emptyLinePlaceholder":166},[138,2691,2693],{"class":140,"line":2692},27,[138,2694,2695],{},"![](https:\u002F\u002Fcdn.tungchiahui.cn\u002Ftungwebsite\u002Fassets\u002Fimages\u002F2023\u002F10\u002F05\u002Fimage4.webp)\n",[138,2697,2699],{"class":140,"line":2698},28,[138,2700,167],{"emptyLinePlaceholder":166},[138,2702,2704],{"class":140,"line":2703},29,[138,2705,2706],{},"3.  Positive numbers: In original, one's complement, and two's complement codes, the representation of positive numbers is exactly the same.\n",[138,2708,2710],{"class":140,"line":2709},30,[138,2711,167],{"emptyLinePlaceholder":166},[138,2713,2715],{"class":140,"line":2714},31,[138,2716,2717],{},"4.  Negative numbers: The representation of negative numbers differs, so for the two's complement of a negative number, we cannot directly convert it to a decimal value using base conversion, because that would not yield the actual decimal number stored in the computer. Instead, we should first convert it to its original code (sign-magnitude representation), and then convert that original code to a decimal number (machine numbers include the sign bit).\n",[138,2719,2721],{"class":140,"line":2720},32,[138,2722,167],{"emptyLinePlaceholder":166},[138,2724,2726],{"class":140,"line":2725},33,[138,2727,2728],{},"5.  Why were sign-magnitude, ones' complement, and two's complement created?\n",[138,2730,2732],{"class":140,"line":2731},34,[138,2733,167],{"emptyLinePlaceholder":166},[138,2735,2737],{"class":140,"line":2736},35,[138,2738,2739],{},"    1.  Reason: For addition and subtraction operations involving only positive numbers, using the original code poses no issues. However, when both positive and negative numbers are present, the computer cannot determine whether the most significant bit is a sign bit.\n",[138,2741,2743],{"class":140,"line":2742},36,[138,2744,167],{"emptyLinePlaceholder":166},[138,2746,2748],{"class":140,"line":2747},37,[138,2749,2750],{},"4.  Summary:\n",[138,2752,2754],{"class":140,"line":2753},38,[138,2755,167],{"emptyLinePlaceholder":166},[138,2757,2759],{"class":140,"line":2758},39,[138,2760,2761],{},"1.  **The *****most significant bit***** of binary is the sign bit: 0 indicates a positive number, 1 indicates a negative number.**\n",[138,2763,2765],{"class":140,"line":2764},40,[138,2766,167],{"emptyLinePlaceholder":166},[138,2768,2770],{"class":140,"line":2769},41,[138,2771,2772],{},"2.  The original code, inverse code, and two's complement of a positive number are all the same — the three codes are unified.\n",[138,2774,2776],{"class":140,"line":2775},42,[138,2777,167],{"emptyLinePlaceholder":166},[138,2779,2781],{"class":140,"line":2780},43,[138,2782,2783],{},"3.  Negative number\n",[138,2785,2787],{"class":140,"line":2786},44,[138,2788,167],{"emptyLinePlaceholder":166},[138,2790,2792],{"class":140,"line":2791},45,[138,2793,2794],{},"    1.  The one's complement of a negative number = keep its sign bit unchanged, and invert all other bits.\n",[138,2796,2798],{"class":140,"line":2797},46,[138,2799,167],{"emptyLinePlaceholder":166},[138,2801,2803],{"class":140,"line":2802},47,[138,2804,2805],{},"    2.  The two's complement of a negative number = its one's complement + 1. The one's complement of a negative number = the two's complement of the negative number - 1.\n",[138,2807,2809],{"class":140,"line":2808},48,[138,2810,167],{"emptyLinePlaceholder":166},[138,2812,2814],{"class":140,"line":2813},49,[138,2815,2816],{},"4.  The one's complement and two's complement of 0 are both 0.\n",[138,2818,2820],{"class":140,"line":2819},50,[138,2821,167],{"emptyLinePlaceholder":166},[138,2823,2825],{"class":140,"line":2824},51,[138,2826,2827],{},"5.  **When computers perform calculations, they always do so using \"two's complement\" representation.**\n",[138,2829,2831],{"class":140,"line":2830},52,[138,2832,167],{"emptyLinePlaceholder":166},[138,2834,2836],{"class":140,"line":2835},53,[138,2837,2838],{},"6.  The result of the operation is displayed in **original code** form.\n",[2840,2841,2842],"style",{},"html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":134,"searchDepth":156,"depth":156,"links":2844},[2845],{"id":12,"depth":156,"text":13,"children":2846},[2847,2848,2849,2850,2851,2852,2853,2854,2855],{"id":17,"depth":163,"text":17},{"id":105,"depth":163,"text":106},{"id":351,"depth":163,"text":352},{"id":672,"depth":163,"text":673},{"id":1761,"depth":163,"text":1762},{"id":1957,"depth":163,"text":1958},{"id":2138,"depth":163,"text":2139},{"id":2304,"depth":163,"text":2305},{"id":2379,"depth":163,"text":2380},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang",0,"0300","2023-10-05","wiki\u002F2023-10-05-cplusplus-jiao-xue","en-us:2023-10-05-cplusplus-jiao-xue","\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue","Cplusplus教学","md","wiki\u002F2023-10-05-Cplusplus教学\u002F0300-数据类型与数据存放",false,null,"en-US","en-us",{},{"title":5,"description":134},"\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0300-数据类型与数据存放","AIciCEziL6VNTPHaVGftNjNprUrW3FvDZWxaNBG85js",[2876,2881,2886,2887,2892,2897,2902,2907,2912,2917,2922,2927,2932,2937,2942,2947,2952,2957,2962,2967,2972,2977,2982,2987,2992,2997,3002,3007,3012,3017,3022,3027,3032,3037,3042,3047,3052,3057,3062,3067,3072,3077,3082,3087,3092,3097,3102,3107,3112,3117,3122,3127,3132,3137,3142,3147,3152,3157,3162,3167,3172,3177,3182,3187,3192,3197,3202,3207,3212,3217,3222,3227,3232,3237,3242,3247,3252,3257,3262,3267,3272,3277],{"path":2877,"stem":2878,"title":2879,"date":2859,"chapterOrder":2880,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0100-c-kai-fa-huan-jing-da-jian-yu-ce-shi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0100-C++开发环境搭建与测试","C++ Development Environment Setup and Testing","0100",{"path":2882,"stem":2883,"title":2884,"date":2859,"chapterOrder":2885,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0200-c-ji-chu-chu-shi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0200-C++基础初识","C++ Basics","0200",{"path":2856,"stem":2873,"title":5,"date":2859,"chapterOrder":2858,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},{"path":2888,"stem":2889,"title":2890,"date":2859,"chapterOrder":2891,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0400-shu-ru-shu-chu","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0400-输入输出","Input and Output","0400",{"path":2893,"stem":2894,"title":2895,"date":2859,"chapterOrder":2896,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0500-yun-suan-fu","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0500-运算符","operator","0500",{"path":2898,"stem":2899,"title":2900,"date":2859,"chapterOrder":2901,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0600-cheng-xu-liu-cheng-jie-gou","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0600-程序流程结构","program flow structure","0600",{"path":2903,"stem":2904,"title":2905,"date":2859,"chapterOrder":2906,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0700-shu-zu","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0700-数组","array","0700",{"path":2908,"stem":2909,"title":2910,"date":2859,"chapterOrder":2911,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0800-han-shu-yu-tou-wen-jian","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0800-函数与头文件","Functions and Header Files","0800",{"path":2913,"stem":2914,"title":2915,"date":2859,"chapterOrder":2916,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0900-zhi-zhen","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F0900-指针","pointer","0900",{"path":2918,"stem":2919,"title":2920,"date":2859,"chapterOrder":2921,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1000-jie-gou-ti-yu-gong-yong-ti","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1000-结构体与共用体","Structures and Unions","1000",{"path":2923,"stem":2924,"title":2925,"date":2859,"chapterOrder":2926,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1100-nei-cun-fen-qu-yu-sheng-ming-zhou-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1100-内存分区与生命周期","Memory Partitioning and Lifecycle","1100",{"path":2928,"stem":2929,"title":2930,"date":2859,"chapterOrder":2931,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1200-yin-yong","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1200-引用","reference","1200",{"path":2933,"stem":2934,"title":2935,"date":2859,"chapterOrder":2936,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1300-han-shu-ti-gao-yu-ming-ming-kong-jian","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1300-函数提高与命名空间","Advanced Functions and Namespaces","1300",{"path":2938,"stem":2939,"title":2940,"date":2859,"chapterOrder":2941,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0100-feng-zhuang","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0100-封装","encapsulation","1400-0100",{"path":2943,"stem":2944,"title":2945,"date":2859,"chapterOrder":2946,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0200-dui-xiang-chu-shi-hua-he-qing-li","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0200-对象初始化和清理","Object initialization and cleanup","1400-0200",{"path":2948,"stem":2949,"title":2950,"date":2859,"chapterOrder":2951,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0300-dui-xiang-mo-xing-yu-this-zhi-zhen","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0300-对象模型与this指针","Object Model and the `this` Pointer","1400-0300",{"path":2953,"stem":2954,"title":2955,"date":2859,"chapterOrder":2956,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0400-you-yuan-yu-yun-suan-fu-zhong-zai","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0400-友元与运算符重载","Friends and operator overloading","1400-0400",{"path":2958,"stem":2959,"title":2960,"date":2859,"chapterOrder":2961,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0500-ji-cheng","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0500-继承","inheritance","1400-0500",{"path":2963,"stem":2964,"title":2965,"date":2859,"chapterOrder":2966,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-0600-duo-tai","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-0600-多态","polymorphism","1400-0600",{"path":2968,"stem":2969,"title":2970,"date":2859,"chapterOrder":2971,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1400-lei-he-dui-xiang","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1400-类和对象","Classes and Objects","1400",{"path":2973,"stem":2974,"title":2975,"date":2859,"chapterOrder":2976,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1500-wen-jian-cao-zuo","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1500-文件操作","File operations","1500",{"path":2978,"stem":2979,"title":2980,"date":2859,"chapterOrder":2981,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1600-yi-chang-chu-li-yu-cuo-wu-ma","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1600-异常处理与错误码","异常处理","1600",{"path":2983,"stem":2984,"title":2985,"date":2859,"chapterOrder":2986,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1700-mu-ban","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1700-模板","template","1700",{"path":2988,"stem":2989,"title":2990,"date":2859,"chapterOrder":2991,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0100-stl-chu-shi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0100-STL初识","Introduction to STL","1800-0100",{"path":2993,"stem":2994,"title":2995,"date":2859,"chapterOrder":2996,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0200-std-array","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0200-std-array","std::array","1800-0200",{"path":2998,"stem":2999,"title":3000,"date":2859,"chapterOrder":3001,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0300-string-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0300-string容器","string container","1800-0300",{"path":3003,"stem":3004,"title":3005,"date":2859,"chapterOrder":3006,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0400-vector-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0400-vector容器","vector 容器","1800-0400",{"path":3008,"stem":3009,"title":3010,"date":2859,"chapterOrder":3011,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0500-deque-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0500-deque容器","deque 容器","1800-0500",{"path":3013,"stem":3014,"title":3015,"date":2859,"chapterOrder":3016,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0600-stack-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0600-stack容器","stack 容器","1800-0600",{"path":3018,"stem":3019,"title":3020,"date":2859,"chapterOrder":3021,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0700-queue-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0700-queue容器","queue container","1800-0700",{"path":3023,"stem":3024,"title":3025,"date":2859,"chapterOrder":3026,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0800-list-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0800-list容器","list 容器","1800-0800",{"path":3028,"stem":3029,"title":3030,"date":2859,"chapterOrder":3031,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-0900-set-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-0900-set容器","set \u002F multiset 容器","1800-0900",{"path":3033,"stem":3034,"title":3035,"date":2859,"chapterOrder":3036,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-1000-map-rong-qi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-1000-map容器","map \u002F multimap 容器","1800-1000",{"path":3038,"stem":3039,"title":3040,"date":2859,"chapterOrder":3041,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-1100-han-shu-dui-xiang-yu-wei-ci","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-1100-函数对象与谓词","Function objects and predicates","1800-1100",{"path":3043,"stem":3044,"title":3045,"date":2859,"chapterOrder":3046,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-1200-chang-yong-suan-fa","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-1200-常用算法","Common algorithms","1800-1200",{"path":3048,"stem":3049,"title":3050,"date":2859,"chapterOrder":3051,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1800-stl-ti-gao-bian-cheng","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1800-STL提高编程","Level up your programming with STL.","1800",{"path":3053,"stem":3054,"title":3055,"date":2859,"chapterOrder":3056,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F1900-c-lei-xing-zhuan-huan","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F1900-C++类型转换","C++ Type Casting","1900",{"path":3058,"stem":3059,"title":3060,"date":2859,"chapterOrder":3061,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0100-auto","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0100-auto","auto","2000-0100",{"path":3063,"stem":3064,"title":3065,"date":2859,"chapterOrder":3066,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0200-nullptr","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0200-nullptr","nullptr","2000-0200",{"path":3068,"stem":3069,"title":3070,"date":2859,"chapterOrder":3071,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0300-using","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0300-using","using","2000-0300",{"path":3073,"stem":3074,"title":3075,"date":2859,"chapterOrder":3076,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0400-enum-class","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0400-enum-class","enum class","2000-0400",{"path":3078,"stem":3079,"title":3080,"date":2859,"chapterOrder":3081,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0500-fan-wei-for-xun-huan","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0500-范围for循环","range-based for loop","2000-0500",{"path":3083,"stem":3084,"title":3085,"date":2859,"chapterOrder":3086,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0600-jie-gou-hua-bang-ding","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0600-结构化绑定","structured binding","2000-0600",{"path":3088,"stem":3089,"title":3090,"date":2859,"chapterOrder":3091,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0700-constexpr","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0700-constexpr","constexpr","2000-0700",{"path":3093,"stem":3094,"title":3095,"date":2859,"chapterOrder":3096,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0800-raii","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0800-RAII","RAII","2000-0800",{"path":3098,"stem":3099,"title":3100,"date":2859,"chapterOrder":3101,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-0900-zhi-neng-zhi-zhen","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-0900-智能指针","Smart pointer","2000-0900",{"path":3103,"stem":3104,"title":3105,"date":2859,"chapterOrder":3106,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1000-you-zhi-yin-yong-he-yi-dong-yu-yi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1000-右值引用和移动语义","Rvalue references and move semantics","2000-1000",{"path":3108,"stem":3109,"title":3110,"date":2859,"chapterOrder":3111,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1100-lambda-biao-da-shi","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1100-Lambda表达式","Lambda expression","2000-1100",{"path":3113,"stem":3114,"title":3115,"date":2859,"chapterOrder":3116,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1200-std-function","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1200-std-function","std::function","2000-1200",{"path":3118,"stem":3119,"title":3120,"date":2859,"chapterOrder":3121,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1300-std-bind","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1300-std-bind","std::bind","2000-1300",{"path":3123,"stem":3124,"title":3125,"date":2859,"chapterOrder":3126,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1400-std-optional","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1400-std-optional","std::optional","2000-1400",{"path":3128,"stem":3129,"title":3130,"date":2859,"chapterOrder":3131,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1500-std-variant","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1500-std-variant","std::variant","2000-1500",{"path":3133,"stem":3134,"title":3135,"date":2859,"chapterOrder":3136,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1600-std-span","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1600-std-span","std::span","2000-1600",{"path":3138,"stem":3139,"title":3140,"date":2859,"chapterOrder":3141,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1700-std-format-print","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1700-std-format-print","std::format \u002F std::print","2000-1700",{"path":3143,"stem":3144,"title":3145,"date":2859,"chapterOrder":3146,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1800-std-chrono","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1800-std-chrono","std::chrono","2000-1800",{"path":3148,"stem":3149,"title":3150,"date":2859,"chapterOrder":3151,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1900-0100-std-thread","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1900-0100-std-thread","std::thread and join","2000-1900-0100",{"path":3153,"stem":3154,"title":3155,"date":2859,"chapterOrder":3156,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1900-0200-mutex-lock-guard","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1900-0200-mutex-lock-guard","mutex 与 lock_guard","2000-1900-0200",{"path":3158,"stem":3159,"title":3160,"date":2859,"chapterOrder":3161,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1900-0300-std-atomic","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1900-0300-std-atomic","std::atomic","2000-1900-0300",{"path":3163,"stem":3164,"title":3165,"date":2859,"chapterOrder":3166,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1900-0400-condition-variable","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1900-0400-condition-variable","condition_variable","2000-1900-0400",{"path":3168,"stem":3169,"title":3170,"date":2859,"chapterOrder":3171,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-1900-bing-fa-bian-cheng","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-1900-并发编程","Concurrent programming","2000-1900",{"path":3173,"stem":3174,"title":3175,"date":2859,"chapterOrder":3176,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-2000-std-filesystem","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-2000-std-filesystem","std::filesystem","2000-2000",{"path":3178,"stem":3179,"title":3180,"date":2859,"chapterOrder":3181,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-2100-modules-jian-jie","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-2100-modules简介","Modules Introduction","2000-2100",{"path":3183,"stem":3184,"title":3185,"date":2859,"chapterOrder":3186,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2000-xian-dai-c","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2000-现代C++","Modern C++","2000",{"path":3188,"stem":3189,"title":3190,"date":2859,"chapterOrder":3191,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0100-ding-shi-qi-yu-yi-bu-io","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0100-定时器与异步IO","Timers and Asynchronous I\u002FO","2100-0100-0100",{"path":3193,"stem":3194,"title":3195,"date":2859,"chapterOrder":3196,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0200-boost-asio-ji-chu","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0200-Boost.Asio基础","Boost.Asio Basics","2100-0100-0200",{"path":3198,"stem":3199,"title":3200,"date":2859,"chapterOrder":3201,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0300-chuan-kou-tong-xin","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0300-串口通信","serial communication","2100-0100-0300",{"path":3203,"stem":3204,"title":3205,"date":2859,"chapterOrder":3206,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0400-tcp-tong-xin","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0400-TCP通信","TCP communication","2100-0100-0400",{"path":3208,"stem":3209,"title":3210,"date":2859,"chapterOrder":3211,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0500-udp-tong-xin","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0500-UDP通信","UDP communication","2100-0100-0500",{"path":3213,"stem":3214,"title":3215,"date":2859,"chapterOrder":3216,"chapterDepth":156,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-0600-ji-qi-ren-gong-cheng-xie-fa-yu-ros2-ji-cheng","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-0600-机器人工程写法与ROS2集成","Robot Engineering Approach and ROS2 Integration","2100-0100-0600",{"path":3218,"stem":3219,"title":3220,"date":2859,"chapterOrder":3221,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0100-boost-asio-yi-bu-io-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0100-Boost.Asio异步IO库","Boost.Asio asynchronous IO library","2100-0100",{"path":3223,"stem":3224,"title":3225,"date":2859,"chapterOrder":3226,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0200-eigen-xian-xing-dai-shu-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0200-Eigen线性代数库","Eigen linear algebra library","2100-0200",{"path":3228,"stem":3229,"title":3230,"date":2859,"chapterOrder":3231,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0300-opencv-ji-suan-ji-shi-jue-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0300-OpenCV计算机视觉库","OpenCV Computer Vision Library","2100-0300",{"path":3233,"stem":3234,"title":3235,"date":2859,"chapterOrder":3236,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0400-pcl-dian-yun-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0400-PCL点云库","PCL Point Cloud Library","2100-0400",{"path":3238,"stem":3239,"title":3240,"date":2859,"chapterOrder":3241,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-0500-sophus-li-qun-li-dai-shu-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-0500-Sophus李群李代数库","Sophus Lie group and Lie algebra library","2100-0500",{"path":3243,"stem":3244,"title":3245,"date":2859,"chapterOrder":3246,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2100-chang-yong-ku","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2100-常用库","Learning Common Libraries","2100",{"path":3248,"stem":3249,"title":3250,"date":2859,"chapterOrder":3251,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-0100-cmakepresets-yu-gou-jian-an-zhuang","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-0100-CMakePresets与构建安装","CMakePresets and Build Installation","2200-0100",{"path":3253,"stem":3254,"title":3255,"date":2859,"chapterOrder":3256,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-0200-ding-ceng-cmake-yu-gong-gong-bian-yi-xuan-xiang","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-0200-顶层CMake与公共编译选项","Top-level CMake and Public Compilation Options","2200-0200",{"path":3258,"stem":3259,"title":3260,"date":2859,"chapterOrder":3261,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-0300-src-yu-lib-mo-kuai-cmake-xiang-jie","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-0300-src与lib模块CMake详解","Detailed CMake Explanation for src and lib Modules","2200-0300",{"path":3263,"stem":3264,"title":3265,"date":2859,"chapterOrder":3266,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-0400-di-san-fang-ku-yi-lai-xie-fa","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-0400-第三方库依赖写法","How to write third-party library dependencies","2200-0400",{"path":3268,"stem":3269,"title":3270,"date":2859,"chapterOrder":3271,"chapterDepth":141,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-0500-mu-ban-kuo-zhan-yu-chang-jian-wen-ti","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-0500-模板扩展与常见问题","Template Extensions and FAQ","2200-0500",{"path":3273,"stem":3274,"title":3275,"date":2859,"chapterOrder":3276,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":2866},"\u002Fen-us\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F2200-cmake-gong-cheng-mu-ban","_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002F2200-CMake工程模板","CMake Project Template","2200",{"path":2862,"stem":3278,"title":3279,"date":2859,"chapterOrder":2867,"chapterDepth":2857,"docKey":2861,"docRoot":2862,"docTitle":2863,"isWikiDoc":166,"isWikiIndex":166},"_i18n\u002Fen-us\u002Fwiki\u002F2023-10-05-Cplusplus教学\u002Findex","C\u002FC++ tutorial",{"variants":3281},[3282,3283,3286,3289,3292],{"path":2856,"localeSlug":2869,"i18nKey":2865},{"path":3284,"localeSlug":3285,"i18nKey":2865},"\u002Fzh-hant\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang","zh-hant",{"path":3287,"localeSlug":3288,"i18nKey":2865},"\u002Fzh-hk\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang","zh-hk",{"path":3290,"localeSlug":3291,"i18nKey":2865},"\u002Fzh-tw\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang","zh-tw",{"path":3293,"localeSlug":3294,"i18nKey":2865},"\u002Fzh-cn\u002Fwiki\u002F2023-10-05-cplusplus-jiao-xue\u002F0300-shu-ju-lei-xing-yu-shu-ju-cun-fang","zh-cn",[2856,2872,3284,2872,3287,2872,3290,2872,3293,2872],1784646861314]