[{"data":1,"prerenderedAt":264},["ShallowReactive",2],{"wiki-page-/wiki/2023-10-05-cplusplus-jiao-xue/ch1-qian-yan":3,"wiki-doc-items-/wiki/2023-10-05-cplusplus-jiao-xue/ch1-qian-yan":204},{"id":4,"title":5,"body":6,"chapter":188,"chapterSort":189,"date":190,"description":15,"docKey":191,"docRoot":192,"docTitle":193,"extension":194,"isWikiDoc":195,"isWikiIndex":196,"layout":197,"meta":198,"navigation":195,"path":199,"seo":200,"stem":201,"wikiDepth":202,"__hash__":203},"content/wiki/2023-10-05-Cplusplus教学/ch1-前言.md","前言",{"type":7,"value":8,"toc":185},"minimark",[9,16,19,22,25,126,132,142,149,155,161,167,173,179],[10,11,12],"p",{},[13,14,15],"strong",{},"C/C++介绍：",[10,17,18],{},"C和C++是两种的高级计算机语言，常见的高级语言还有Python，Rust，Go，C#(C Sharp、C++++)，Java，JavaScript，LinuxShell等等。",[10,20,21],{},"C++语言是在C语言的基础上，添加了面向对象、模板等现代程序设计语言的特性而发展起来的。两者无论是从语法规则上，还是从运算符的数量和使用上，都非常相似，所以我们常常将这两门语言统称为“C/C++”。",[10,23,24],{},"C语言和C++并不是对立的竞争关系： 1)C++是C语言的加强，是一种更好的C语言，实际上C++和C语言是同一门语言的不同版本。 2)C++是以C语言为基础的，并且完全兼容C语言的特性。 C语言和C++语言的学习是可以相互促进。学好C语言，可以为我们将来进一步地学习C++语言打好基础，而C++语言的学习，也会促进我们对于C语言的理解，从而更好地运用C语言。",[26,27,28,45],"table",{},[29,30,31],"thead",{},[32,33,34,39,42],"tr",{},[35,36,38],"th",{"align":37},"left","特性",[35,40,41],{"align":37},"C 语言",[35,43,44],{"align":37},"C++ 语言",[46,47,48,60,71,82,93,104,115],"tbody",{},[32,49,50,54,57],{},[51,52,53],"td",{"align":37},"编程范式",[51,55,56],{"align":37},"面向过程",[51,58,59],{"align":37},"多范式，支持面向对象",[32,61,62,65,68],{},[51,63,64],{"align":37},"内存管理",[51,66,67],{"align":37},"手动管理",[51,69,70],{"align":37},"手动管理，提供 RAII（资源获取即初始化）",[32,72,73,76,79],{},[51,74,75],{"align":37},"代码复用性",[51,77,78],{"align":37},"较低",[51,80,81],{"align":37},"高，通过类、继承、模板等实现",[32,83,84,87,90],{},[51,85,86],{"align":37},"标准库",[51,88,89],{"align":37},"标准 C 库",[51,91,92],{"align":37},"标准模板库（STL）和 C 标准库",[32,94,95,98,101],{},[51,96,97],{"align":37},"运行效率",[51,99,100],{"align":37},"高",[51,102,103],{"align":37},"稍低于 C，但差距不大",[32,105,106,109,112],{},[51,107,108],{"align":37},"应用场景",[51,110,111],{"align":37},"操作系统、嵌入式",[51,113,114],{"align":37},"游戏开发、图形处理、大型应用",[32,116,117,120,123],{},[51,118,119],{"align":37},"类型检查",[51,121,122],{"align":37},"较松散",[51,124,125],{"align":37},"较严格，提供更多类型检查",[10,127,128,129],{},"**本文只负责指导一些问题，学****C/C++**",[13,130,131],{},"还是以下列视频为主:",[10,133,134,135],{},"C/C++环境配置:",[136,137,141],"a",{"href":138,"rel":139},"https://sdutvincirobot.feishu.cn/wiki/FQszwXIR5iQgCfk7pRwc9rYpnqg",[140],"nofollow","电控组环境搭建大全",[143,144,145],"ol",{},[146,147,148],"li",{},"黑马程序员C++视频：",[10,150,151],{},[136,152,153],{"href":153,"rel":154},"https://www.bilibili.com/video/BV1et411b73Z",[140],[143,156,158],{"start":157},2,[146,159,160],{},"鹏哥C语言视频：",[10,162,163],{},[136,164,165],{"href":165,"rel":166},"https://www.bilibili.com/video/BV1cq4y1U7sg",[140],[143,168,170],{"start":169},3,[146,171,172],{},"菜鸟教程：",[10,174,175],{},[136,176,177],{"href":177,"rel":178},"https://www.runoob.com/cprogramming/c-tutorial.html",[140],[10,180,181],{},[136,182,183],{"href":183,"rel":184},"https://www.runoob.com/cplusplus/cpp-tutorial.html",[140],{"title":186,"searchDepth":157,"depth":157,"links":187},"",[],"1",1000000,"2023-10-05","2023-10-05-cplusplus-jiao-xue","/wiki/2023-10-05-cplusplus-jiao-xue","Cplusplus教学","md",true,false,null,{},"/wiki/2023-10-05-cplusplus-jiao-xue/ch1-qian-yan",{"title":5,"description":15},"wiki/2023-10-05-Cplusplus教学/ch1-前言",1,"pUSE7A8tg3M-tFwvsE4-E_EHOI0X-w2aIZuRY_jshok",[205,206,212,218,224,230,236,242,248,254,260],{"path":199,"stem":201,"title":5,"date":190,"chapter":188,"chapterSort":189,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},{"path":207,"stem":208,"title":209,"date":190,"chapter":210,"chapterSort":211,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch10-xian-dai-c","wiki/2023-10-05-Cplusplus教学/ch10-现代C++","现代C++","10",10000000,{"path":213,"stem":214,"title":215,"date":190,"chapter":216,"chapterSort":217,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch2-cheng-xu-yun-xing-yu-bian-liang-sheng-ming-zhou-qi","wiki/2023-10-05-Cplusplus教学/ch2-程序运行与变量生命周期","程序运行与变量生命周期","2",2000000,{"path":219,"stem":220,"title":221,"date":190,"chapter":222,"chapterSort":223,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch3-tou-wen-jian","wiki/2023-10-05-Cplusplus教学/ch3-头文件","头文件","3",3000000,{"path":225,"stem":226,"title":227,"date":190,"chapter":228,"chapterSort":229,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch4-c-yu-yan-he-c-de-i-o","wiki/2023-10-05-Cplusplus教学/ch4-C语言和C++的I_O","C语言 和 C++ 的I/O","4",4000000,{"path":231,"stem":232,"title":233,"date":190,"chapter":234,"chapterSort":235,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch5-c-ming-ming-kong-jian","wiki/2023-10-05-Cplusplus教学/ch5-C++命名空间","C++命名空间","5",5000000,{"path":237,"stem":238,"title":239,"date":190,"chapter":240,"chapterSort":241,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch6-lian-he-ti-gong-yong-ti","wiki/2023-10-05-Cplusplus教学/ch6-联合体（共用体）","联合体（共用体）","6",6000000,{"path":243,"stem":244,"title":245,"date":190,"chapter":246,"chapterSort":247,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch7-typedef","wiki/2023-10-05-Cplusplus教学/ch7-typedef","typedef","7",7000000,{"path":249,"stem":250,"title":251,"date":190,"chapter":252,"chapterSort":253,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch8-jie-gou-ti","wiki/2023-10-05-Cplusplus教学/ch8-结构体","结构体","8",8000000,{"path":255,"stem":256,"title":257,"date":190,"chapter":258,"chapterSort":259,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":196},"/wiki/2023-10-05-cplusplus-jiao-xue/ch9-shu-ju-de-cun-fang","wiki/2023-10-05-Cplusplus教学/ch9-数据的存放","数据的存放","9",9000000,{"path":192,"stem":261,"title":262,"date":190,"chapter":197,"chapterSort":263,"docKey":191,"docRoot":192,"docTitle":193,"isWikiDoc":195,"isWikiIndex":195},"wiki/2023-10-05-Cplusplus教学/index","C/C++教程",0,1778560331307]