标准类型库解说.pptVIP

  • 4
  • 0
  • 约6.65千字
  • 约 41页
  • 2016-06-25 发布于湖北
  • 举报
Visual C++ 讲授教师:董鑫正 内容回顾 如何定义指向常量的指针? 如何定义常量指针? 如何使用typedef为类型定义别名? 第二章 标准类型库 标准库的组织结构 命名空间 标准库的string类型 标准库的vector类型 概念和特点 C++ Standard Library is a collection of classes and functions, which are written in the core language and part of the C++ ISO Standard itself Features of the C++ Standard Library are declared within the std namespace 标准库的组织结构 C++标准库由多个组件构成。按照它们的功能,可以进行如下分类: C标准库 cassert cctype cerrno cfloat climits 第二章 标准类型库 标准库的组织结构 命名空间 标准库的string类型 标准库的vector类型 命名空间 在大规模的程序设计中,以及在程序员使用C++标准库和各种各样的第三方库时,为了避免这些标识符的命名发生冲突,标准C++引入了一个命名范围区域——namespace(命名空间),这样可以更好地控制标识符的作用域。 命名空间的一个最

文档评论(0)

1亿VIP精品文档

相关文档