摘要: 第七章 内存管理 C++内存机制 C++内存重要两类区域:栈区,自由存储区 一般而言,直接通过变量声明方式声明的变量内存都会在栈区中. 例如: unsigned int arr[20]; int num; char word; std::string str; std::vector<int>wei 阅读全文
posted @ 2024-01-10 23:01 Mesonoxian 阅读(54) 评论(0) 推荐(0) 编辑