|
| 1 | +\relax |
| 2 | +\providecommand\hyper@newdestlabel[2]{} |
| 3 | +\providecommand*\HyPL@Entry[1]{} |
| 4 | +\HyPL@Entry{0<</S/D>>} |
| 5 | +\HyPL@Entry{2<</S/r>>} |
| 6 | +\@writefile{toc}{\contentsline {chapter}{序}{i}{chapter*.1}\protected@file@percent } |
| 7 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 8 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 9 | +\HyPL@Entry{6<</S/D>>} |
| 10 | +\@writefile{toc}{\contentsline {part}{泛讲篇}{3}{part*.3}\protected@file@percent } |
| 11 | +\@writefile{toc}{\contentsline {chapter}{\numberline {第一章\hspace {.3em}}初识C++}{3}{chapter.1}\protected@file@percent } |
| 12 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 13 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 14 | +\@writefile{toc}{\contentsline {section}{\numberline {1.1}开始一个C++程序}{3}{section.1.1}\protected@file@percent } |
| 15 | +\newlabel{lst:HelloWorld}{{1.1}{3}{\texttt {Hello\_World.cpp}}{lstlisting.1.1}{}} |
| 16 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {1.1}\texttt {Hello\_World.cpp}}{3}{lstlisting.1.1}\protected@file@percent } |
| 17 | +\@writefile{lof}{\contentsline {figure}{\numberline {1.1}{\ignorespaces 从源代码到可执行文件}}{4}{figure.1.1}\protected@file@percent } |
| 18 | +\gdef \LT@i {\LT@entry |
| 19 | + {1}{32.00002pt}\LT@entry |
| 20 | + {1}{32.00002pt}\LT@entry |
| 21 | + {1}{32.00002pt}\LT@entry |
| 22 | + {1}{32.00002pt}\LT@entry |
| 23 | + {1}{32.00002pt}\LT@entry |
| 24 | + {1}{32.00002pt}\LT@entry |
| 25 | + {1}{32.00002pt}\LT@entry |
| 26 | + {1}{32.00002pt}} |
| 27 | +\@writefile{toc}{\contentsline {section}{\numberline {1.2}数据与信息}{6}{section.1.2}\protected@file@percent } |
| 28 | +\@writefile{lot}{\contentsline {table}{\numberline {1.1}{一个简单的汉字-数字编码表}}{6}{table.1.1}\protected@file@percent } |
| 29 | +\@writefile{lof}{\contentsline {figure}{\numberline {1.2}{\ignorespaces 一个ASCII码表}}{8}{figure.1.2}\protected@file@percent } |
| 30 | +\@writefile{toc}{\contentsline {section}{\numberline {1.3}数据的定义和使用}{8}{section.1.3}\protected@file@percent } |
| 31 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {1.2}\texttt {calc.cpp}}{11}{lstlisting.1.2}\protected@file@percent } |
| 32 | +\newlabel{lst:calc1}{{1.2}{11}{实操:让编译器充当计算器}{lstlisting.1.2}{}} |
| 33 | +\@writefile{toc}{\contentsline {section}{\numberline {1.4}运算符与类型}{11}{section.1.4}\protected@file@percent } |
| 34 | +\@writefile{toc}{\contentsline {section}{\numberline {1.5}\texttt {sizeof} 与内存空间}{13}{section.1.5}\protected@file@percent } |
| 35 | +\@writefile{lof}{\contentsline {figure}{\numberline {1.3}{\ignorespaces 存储器、字节与比特}}{14}{figure.1.3}\protected@file@percent } |
| 36 | +\@writefile{toc}{\contentsline {section}{\numberline {1.6}类与对象}{16}{section.1.6}\protected@file@percent } |
| 37 | +\@writefile{toc}{\contentsline {chapter}{\numberline {第二章\hspace {.3em}}数据的基本操作}{19}{chapter.2}\protected@file@percent } |
| 38 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 39 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 40 | +\@writefile{toc}{\contentsline {section}{\numberline {2.1}赋值语句与常量}{19}{section.2.1}\protected@file@percent } |
| 41 | +\@writefile{toc}{\contentsline {section}{\numberline {2.2}基本数据类型}{22}{section.2.2}\protected@file@percent } |
| 42 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {2.1}\texttt {Integer\_Limits.cpp}}{22}{lstlisting.2.1}\protected@file@percent } |
| 43 | +\@writefile{toc}{\contentsline {section}{\numberline {2.3}运算符}{27}{section.2.3}\protected@file@percent } |
| 44 | +\@writefile{lof}{\contentsline {figure}{\numberline {2.1}{\ignorespaces 代码 \lstinline @num=a*b+c*d;@ 的套括号解释}}{29}{figure.2.1}\protected@file@percent } |
| 45 | +\@writefile{lof}{\contentsline {figure}{\numberline {2.2}{\ignorespaces 除法运算符和赋值运算符的结合性}}{31}{figure.2.2}\protected@file@percent } |
| 46 | +\@writefile{toc}{\contentsline {section}{\numberline {2.4}类型转换}{32}{section.2.4}\protected@file@percent } |
| 47 | +\@writefile{lof}{\contentsline {figure}{\numberline {2.3}{\ignorespaces \lstinline @1.*a/b@ 与 \lstinline @a/b*1.@ 的隐式类型转换过程图解}}{33}{figure.2.3}\protected@file@percent } |
| 48 | +\newlabel{con:boolean_conversions}{{2.4}{34}{隐式类型转换}{lstnumber.-75.3}{}} |
| 49 | +\@writefile{lof}{\contentsline {figure}{\numberline {2.4}{\ignorespaces 布尔转换规则}}{34}{figure.2.4}\protected@file@percent } |
| 50 | +\@writefile{lof}{\contentsline {figure}{\numberline {2.5}{\ignorespaces 显式类型转换,但是又被隐式类型转换改回去了}}{36}{figure.2.5}\protected@file@percent } |
| 51 | +\@writefile{toc}{\contentsline {chapter}{\numberline {第三章\hspace {.3em}}程序的流程控制}{37}{chapter.3}\protected@file@percent } |
| 52 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 53 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 54 | +\@writefile{toc}{\contentsline {section}{\numberline {3.1}简介:结构、流程与次序}{37}{section.3.1}\protected@file@percent } |
| 55 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Alpine,一个基于文本用户界面的电子邮件客户端}}{39}{figure.3.1}\protected@file@percent } |
| 56 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Chrome,一个典型的图形用户界面程序}}{39}{figure.3.2}\protected@file@percent } |
| 57 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.3}{\ignorespaces 命令行界面输入场景示例}}{40}{figure.3.3}\protected@file@percent } |
| 58 | +\newlabel{lst:InputToASCII}{{3.1}{40}{\texttt {Input\_to\_ASCII.cpp}}{lstlisting.3.1}{}} |
| 59 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {3.1}\texttt {Input\_to\_ASCII.cpp}}{40}{lstlisting.3.1}\protected@file@percent } |
| 60 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.4}{\ignorespaces 顺序、选择和循环结构}}{41}{figure.3.4}\protected@file@percent } |
| 61 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.5}{\ignorespaces 后缀自增运算在不同编译器下的汇编代码}}{43}{figure.3.5}\protected@file@percent } |
| 62 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.6}{\ignorespaces 逻辑与、逻辑或、逻辑非运算符的真值表}}{44}{figure.3.6}\protected@file@percent } |
| 63 | +\@writefile{toc}{\contentsline {section}{\numberline {3.2}选择结构}{45}{section.3.2}\protected@file@percent } |
| 64 | +\newlabel{lst:oddoreven}{{3.2}{46}{\texttt {odd\_or\_even.cpp}}{lstlisting.3.2}{}} |
| 65 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {3.2}\texttt {odd\_or\_even.cpp}}{46}{lstlisting.3.2}\protected@file@percent } |
| 66 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.7}{\ignorespaces 奇偶判断程序流程图}}{47}{figure.3.7}\protected@file@percent } |
| 67 | +\@writefile{toc}{\contentsline {subsubsection}{多路分支的选择结构}{48}{subsubsection*.51}\protected@file@percent } |
| 68 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.8}{\ignorespaces \lstinline @if@-\lstinline @else@ 嵌套实现多路分支}}{49}{figure.3.8}\protected@file@percent } |
| 69 | +\@writefile{toc}{\contentsline {section}{\numberline {3.3}循环结构}{51}{section.3.3}\protected@file@percent } |
| 70 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.9}{\ignorespaces while循环奇偶判断流程图}}{54}{figure.3.9}\protected@file@percent } |
| 71 | +\newlabel{lst:OddOrEvenWithWhileLoop}{{3.3}{54}{while循环奇偶判断}{lstlisting.3.3}{}} |
| 72 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {3.3}while循环奇偶判断}{54}{lstlisting.3.3}\protected@file@percent } |
| 73 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.10}{\ignorespaces \lstinline @break@ 结构的流程图}}{57}{figure.3.10}\protected@file@percent } |
| 74 | +\@writefile{lof}{\contentsline {figure}{\numberline {3.11}{\ignorespaces \lstinline @continue@ 结构的流程图}}{59}{figure.3.11}\protected@file@percent } |
| 75 | +\newlabel{lst:SumWithContinue}{{3.4}{59}{\texttt {sum.cpp}}{lstlisting.3.4}{}} |
| 76 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {3.4}\texttt {sum.cpp}}{59}{lstlisting.3.4}\protected@file@percent } |
| 77 | +\@writefile{toc}{\contentsline {section}{\numberline {3.4}作用域初步}{60}{section.3.4}\protected@file@percent } |
| 78 | +\@writefile{toc}{\contentsline {section}{\numberline {3.5}实操:简易计算器的设计}{61}{section.3.5}\protected@file@percent } |
| 79 | +\newlabel{lst:SimpleCalculator}{{3.5}{63}{\texttt {简易计算器.cpp}}{lstlisting.3.5}{}} |
| 80 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {3.5}\texttt {简易计算器.cpp}}{63}{lstlisting.3.5}\protected@file@percent } |
| 81 | +\@writefile{toc}{\contentsline {chapter}{\numberline {第四章\hspace {.3em}}函数初步}{65}{chapter.4}\protected@file@percent } |
| 82 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 83 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 84 | +\@writefile{toc}{\contentsline {section}{\numberline {4.1}函数的概念}{65}{section.4.1}\protected@file@percent } |
| 85 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.1}{\ignorespaces $\sin $函数就是一个黑盒,给定某个输入信息就会有对应的输出信息}}{65}{figure.4.1}\protected@file@percent } |
| 86 | +\@writefile{toc}{\contentsline {section}{\numberline {4.2}函数的定义和使用}{67}{section.4.2}\protected@file@percent } |
| 87 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.2}{\ignorespaces 块作用域与函数作用域的区别}}{68}{figure.4.2}\protected@file@percent } |
| 88 | +\newlabel{lst:max3}{{4.1}{72}{\texttt {max3.cpp}}{lstlisting.4.1}{}} |
| 89 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {4.1}\texttt {max3.cpp}}{72}{lstlisting.4.1}\protected@file@percent } |
| 90 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.3}{\ignorespaces \lstinline @main@ 函数调用了 \lstinline @max3@,而 \lstinline @max3@ 调用了 \lstinline @max@,它们都能够找到对应的函数}}{73}{figure.4.3}\protected@file@percent } |
| 91 | +\@writefile{toc}{\contentsline {section}{\numberline {4.3}函数重载}{73}{section.4.3}\protected@file@percent } |
| 92 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.4}{\ignorespaces \lstinline @max@ 函数的重载}}{75}{figure.4.4}\protected@file@percent } |
| 93 | +\@writefile{toc}{\contentsline {section}{\numberline {4.4}默认参数的设置}{76}{section.4.4}\protected@file@percent } |
| 94 | +\@writefile{toc}{\contentsline {section}{\numberline {4.5}函数递归}{78}{section.4.5}\protected@file@percent } |
| 95 | +\newlabel{lst:FactorialWithRecursion}{{4.2}{78}{\texttt {Factorial\_with\_Recursion.cpp}}{lstlisting.4.2}{}} |
| 96 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {4.2}\texttt {Factorial\_with\_Recursion.cpp}}{78}{lstlisting.4.2}\protected@file@percent } |
| 97 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.5}{\ignorespaces \lstinline @factorial@ 的定义就是一种声明,所以编译器能够找到它}}{79}{figure.4.5}\protected@file@percent } |
| 98 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.6}{\ignorespaces \lstinline @factorial@ 函数递归的运行过程}}{79}{figure.4.6}\protected@file@percent } |
| 99 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.7}{\ignorespaces 调用函数时压入堆栈帧,返回值后移除堆栈帧}}{80}{figure.4.7}\protected@file@percent } |
| 100 | +\@writefile{toc}{\contentsline {section}{\numberline {4.6}函数模版简介}{80}{section.4.6}\protected@file@percent } |
| 101 | +\@writefile{lof}{\contentsline {figure}{\numberline {4.8}{\ignorespaces 从函数模版到函数实例}}{82}{figure.4.8}\protected@file@percent } |
| 102 | +\@writefile{toc}{\contentsline {chapter}{\numberline {第五章\hspace {.3em}}复合类型及其使用}{83}{chapter.5}\protected@file@percent } |
| 103 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 104 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 105 | +\@writefile{toc}{\contentsline {section}{\numberline {5.1}指针}{83}{section.5.1}\protected@file@percent } |
| 106 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces 程序的内存布局}}{84}{figure.5.1}\protected@file@percent } |
| 107 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces \lstinline @d@ 在内存空间中的示意图}}{85}{figure.5.2}\protected@file@percent } |
| 108 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.3}{\ignorespaces 我们可以把 \lstinline @*@ 接收不同数量操作数的情况当成一种重载}}{86}{figure.5.3}\protected@file@percent } |
| 109 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.4}{\ignorespaces 变量 \lstinline @d@、地址 \lstinline @&d@、指针 \lstinline @pd@ 与内容\lstinline @*pd@ 的相互关系}}{87}{figure.5.4}\protected@file@percent } |
| 110 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.5}{\ignorespaces 在调用 \lstinline @exchange@ 函数时,调用栈中发生的变化}}{88}{figure.5.5}\protected@file@percent } |
| 111 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.6}{\ignorespaces \lstinline @main@ 向 \lstinline @exchange@ 中传入的信息只有值}}{88}{figure.5.6}\protected@file@percent } |
| 112 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.7}{\ignorespaces 指针加法运算的偏移量是以数据为单位的,而不是地址值}}{91}{figure.5.7}\protected@file@percent } |
| 113 | +\@writefile{toc}{\contentsline {section}{\numberline {5.2}``常量指针''与``指向常量的指针''}{92}{section.5.2}\protected@file@percent } |
| 114 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.8}{\ignorespaces 修改指针的指向/修改指针的内容}}{92}{figure.5.8}\protected@file@percent } |
| 115 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.9}{\ignorespaces \lstinline @const@ 限制了什么?}}{93}{figure.5.9}\protected@file@percent } |
| 116 | +\@writefile{toc}{\contentsline {section}{\numberline {5.3}(左值)引用与引用参数传递}{94}{section.5.3}\protected@file@percent } |
| 117 | +\@writefile{toc}{\contentsline {section}{\numberline {5.4}一维数组}{98}{section.5.4}\protected@file@percent } |
| 118 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.10}{\ignorespaces 如果三个变量在内存中的地址是挨着的,我们可以用一个指针来访问这三个数据}}{98}{figure.5.10}\protected@file@percent } |
| 119 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.11}{\ignorespaces 用 \lstinline @array[i]@ 效果等同于 \lstinline @*(array+i)@}}{100}{figure.5.11}\protected@file@percent } |
| 120 | +\newlabel{lst:GetMaximumFromInput}{{5.1}{103}{\texttt {输入数据求最大值.cpp}}{lstlisting.5.1}{}} |
| 121 | +\@writefile{lol}{\contentsline {lstlisting}{\numberline {5.1}\texttt {输入数据求最大值.cpp}}{103}{lstlisting.5.1}\protected@file@percent } |
| 122 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.12}{\ignorespaces 数组到指针的类型转换}}{106}{figure.5.12}\protected@file@percent } |
| 123 | +\@writefile{toc}{\contentsline {section}{\numberline {5.5}字符串}{107}{section.5.5}\protected@file@percent } |
| 124 | +\@writefile{lof}{\contentsline {figure}{\numberline {5.13}{\ignorespaces 字符串 \lstinline @name@ 中信息的变化情况}}{109}{figure.5.13}\protected@file@percent } |
| 125 | +\gdef \LT@ii {\LT@entry |
| 126 | + {1}{42.00002pt}\LT@entry |
| 127 | + {1}{136.19997pt}\LT@entry |
| 128 | + {1}{117.00002pt}\LT@entry |
| 129 | + {1}{52.00002pt}\LT@entry |
| 130 | + {1}{82.00002pt}} |
| 131 | +\@writefile{toc}{\contentsline {part}{精讲篇}{115}{part*.82}\protected@file@percent } |
| 132 | +\@writefile{toc}{\contentsline {chapter}{\numberline {附录 A\hspace {.3em}}C++运算符基本属性}{115}{appendix.A}\protected@file@percent } |
| 133 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 134 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 135 | +\newlabel{ch:appendix_A}{{A}{115}{C++运算符基本属性}{appendix.A}{}} |
| 136 | +\@writefile{lot}{\contentsline {table}{\numberline {A.1}{截至C++17的所有运算符}}{115}{table.A.1}\protected@file@percent } |
| 137 | +\newlabel{tab:A-1}{{A.1}{115}{截至C++17的所有运算符}{table.A.1}{}} |
| 138 | +\gdef \LT@iii {\LT@entry |
| 139 | + {1}{33.67001pt}\LT@entry |
| 140 | + {1}{33.81001pt}\LT@entry |
| 141 | + {1}{26.72002pt}\LT@entry |
| 142 | + {1}{24.37001pt}\LT@entry |
| 143 | + {1}{79.14001pt}\LT@entry |
| 144 | + {1}{33.67001pt}\LT@entry |
| 145 | + {1}{33.81001pt}\LT@entry |
| 146 | + {1}{26.72002pt}\LT@entry |
| 147 | + {1}{27.283pt}\LT@entry |
| 148 | + {1}{86.44002pt}} |
| 149 | +\@writefile{toc}{\contentsline {chapter}{\numberline {附录 B\hspace {.3em}}ASCII码表(0到127)}{117}{appendix.B}\protected@file@percent } |
| 150 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 151 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 152 | +\@writefile{lot}{\contentsline {table}{\numberline {B.1}{33个ASCII控制字符}}{117}{table.B.1}\protected@file@percent } |
| 153 | +\newlabel{tab:B-1}{{B.1}{117}{33个ASCII控制字符}{table.B.1}{}} |
| 154 | +\gdef \LT@iv {\LT@entry |
| 155 | + {1}{33.67001pt}\LT@entry |
| 156 | + {1}{33.81001pt}\LT@entry |
| 157 | + {1}{28.72002pt}\LT@entry |
| 158 | + {1}{33.67001pt}\LT@entry |
| 159 | + {1}{33.81001pt}\LT@entry |
| 160 | + {1}{28.72002pt}\LT@entry |
| 161 | + {1}{33.67001pt}\LT@entry |
| 162 | + {1}{33.81001pt}\LT@entry |
| 163 | + {1}{28.72002pt}\LT@entry |
| 164 | + {1}{33.67001pt}\LT@entry |
| 165 | + {1}{33.81001pt}\LT@entry |
| 166 | + {1}{26.72002pt}} |
| 167 | +\@writefile{lot}{\contentsline {table}{\numberline {B.2}{95个ASCII可打印字符}}{118}{table.B.2}\protected@file@percent } |
| 168 | +\newlabel{tab:B-2}{{B.2}{118}{95个ASCII可打印字符}{table.B.2}{}} |
| 169 | +\@writefile{toc}{\contentsline {chapter}{\numberline {附录 C\hspace {.3em}}相关数学知识}{119}{appendix.C}\protected@file@percent } |
| 170 | +\@writefile{lof}{\addvspace {10.0pt}} |
| 171 | +\@writefile{lot}{\addvspace {10.0pt}} |
| 172 | +\@writefile{toc}{\contentsline {section}{\numberline {C.1}进制与进制转换}{119}{section.C.1}\protected@file@percent } |
| 173 | +\@writefile{toc}{\contentsline {chapter}{跋}{121}{appendix*.83}\protected@file@percent } |
| 174 | +\gdef \@abspage@last{128} |
0 commit comments