C++ Primer中文版》(第3版)(据原书第3版译出)结合Stanley Lippman的实践经验和Josee Lajoie对于ANSI/ISO标准C++的深入理解,完整精确地讲述了标准C++的特性和用法 第一篇 C++概述 第1章 开始 3 1.1 问题的解决 3 1.2 C++程序 4 1.3 预处理器指示符 10 1.4 注释 14 1.5 输入/输出初步 16 第2章 C++浏览 20 2.1 内置数组数据类型 20 2.2 动态内存分配和指针 23 2.3 基于对象的设计 26 2.4 面向对象的设计 36 2.5 泛型设计 44 2.6 基于异常的设计 50 2.7 用其他名字来命名数组 54 2.8 标准数组——向量(vector) 59 第二篇 基本语言 第3章 C++数据类型 67 3.1 文字常量 67 3.2 变量 70 3.3 指针类型 78 3.4 字符串类型 83 3.5 const限定修饰符 91 3.6 引用类型 94 3.7 布尔类型 99 3.8 枚举类型 100 3.9 数组类型 102 3.10 vector容器类型 110 3.11 复数类型 113 3.12 Typedef名字 114 3.13 volatile 115 3.14 pair类型 116 3.15 类(class)类型 117 第4章 表达式 127 4.1 什么是表达式 127 4.2 算术操作符 129 4.3 等于、关于和逻辑操作符 131 4.4 赋值操作符 134 4.5 递增和递减操作符 138 4.6 复数操作 140 4.7 条件操作符 143 4.8 sizeof操作符 144 4.9 new和delete表达式 146 4.10 逗号操作符 148 4.11 位操作符 148 4.12 bitset操作 151 4.13 优先级 155 4.14 这表型转换 158 4.15 栈类实例 167 第5章 语句 171 5.1 简单语句和复合语句 171 5.2 声明语句 172 5.3 if语句 175 5.4 switch语句 183 5.5 for循环语句 190 5.6 while循环 194 5.7 do while 196 5.8 break语句 198 5.9 continue语句 199 5.10 goto语句 199 5.11 链表例子 201 第6章 抽象容器类型 226 6.1 我们的文本查询系统 227 6.2 vector还是list? 230 6.3 cector怎样自己增长 231 6.4 定义一个顺序容器 234 6.5 迭代器 238 6.6 顺序容器操作 242 6.7 存储文本行 246 6.8 找到一个子串 249 6.9 处理标点符号 255 6.10 注意其他格式的字符串 258 6.11 其他string操作 261 6.12 生成文本位置map 266 6.13 创建单词排除集 276 6.14 完整的程序 279 6.15 multimap和multiset 288 6.16 栈(stack) 291 6.17 队列(queue)和优先队列(priority_queue) 293 6.18 回顾iStack类 294 第三篇 基本过程的程序设计 第7章 函数 299 7.1 概述 299 7.2 函数原型 302 7.3 参数传递 305 7.4 返回一个值 322 7.5 递归 326 7.6 inline函数 328 7.7 链接指示符:extern"C"※ 329 7.8 main():处理命令行选项※ 332 7.9 指向函数的指针※ 342 第8章 域和生命期 353 8.1 域 353 8.2 全局对象和函数 358 8.3 局部对象 364 8.4 动态分配的对象 367 8.5 名字空间定义 ※ 379 8.6 使用名字空间成员 ※ 391 第9章 重载函数 400 9.1 重载函数声明 400 9.2 重载解析的三个步骤 411 9.3 参数类型转换 ※ 413 9.4 函数重载解析细节 426 第10章 函数模板 439 10.1 函数模板定义 439 10.2 函数模板实例化 446 10.3 模板实参推演 ※ 449 10.4 显式模板实参 ※ 453 10.5 模板编译模式 ※ 456 10.6 模板显式特化 ※ 460 10.7 重载函数模板 ※ 465 10.8 考虑模板函数实例的重载解析 ※ 467 10.9 模板定义中的名字解析 ※ 474 10.10 名字空间和函数模板 ※ 480 10.11 函数模板示例 484 第11章 异常处理 487 11.1 抛出异常 487 11.2 try块 490 1
2021-04-15 20:14:17 3.81MB C++ Primer (第三版)(高清PDF中文版)
1
非常好的一本书,适合入门C++,代码可读性好,内容简明直截了当
2021-04-14 14:19:36 99.37MB C++ primer
1
文件内包含:C++ Primer, 5th Edition、C++ Primer, 5th Edition配套习题集、C++ Primer, 5th Edition源码;经典权威C++书籍:《C++ Primer, 5th Edition》介绍如下: Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code. C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The book’s many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated. Start Fast and Achieve More Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming Learn through examples that illuminate today’s best coding styles and program design techniques Understand the “rationale behind the rules”: why C++11 works as it does Use the extensive crossreferences to help you connect related concepts and insights Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what you’ve learned Access the source code for the extended examples from informit.com/title/0321714113 C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surfac
2021-04-14 09:35:28 235.83MB C++ Pr
1
C Primer Plus (第六版)复习题参考答案
2021-04-12 20:03:18 161.21MB C
1
程序源代码以及部分练习
2021-04-11 11:01:29 214KB c++
1
C++ Primer 中文版(第 5 版)第一章——随笔(含练习).docx
2021-04-10 21:02:44 35KB C++ C++Primer
1
C++Primer Plus第6版中文版.pdf
2021-04-09 23:24:00 45.87MB C++
1
The Object Primer - Introduction to Techniques for Agile Modeling second edition
2021-04-09 17:25:41 243KB Object Primer Agile Modeling
1
C Primer Plus 英文版 C语言经典图书 一本C入门的优秀读物
2021-04-08 11:41:45 5.86MB 语言设计
1