📄 v3_slide0398.htm
字号:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 10">
<link id=Main-File rel=Main-File href="../roadtrip99.htm">
<link rel=Preview href=preview.wmf>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
p\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
v\:textbox {display:none;}
</style>
<![endif]-->
<title>Embracing the C++ STL</title>
<meta name=Description content="4/2/2002: Vectors vs C-style arrays">
<link rel=next href="v3_slide0380.htm">
</head>
<body background="v3_master19_background.gif" bgcolor="#333399" alink="#9999FF"
link="#99CCFF" vlink="#0066FF" text="#CCECFF" topmargin=0 leftmargin=0>
<table border=0 valign=top width=475 height=356 cellpadding=0 cellspacing=0>
<tr>
<td width=17 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=23 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=70 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=239 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=98 height=0 nowrap><img src="v3_space.gif" border=0></td>
</tr>
<tr>
<td width=475 height=34 colspan=6></td>
</tr>
<tr>
<td width=17 height=36></td>
<td width=332 height=36 colspan=3>
<table border=0 valign=top cellpadding=0 cellspacing=0>
<tr>
<td width=332 height=36><font face=Tahoma color="#CCFFFF" size=5>Vectors vs
C-style arrays</font><br>
</td>
</tr>
</table>
</td>
<td width=126 height=36 colspan=2></td>
</tr>
<tr>
<td width=475 height=15 colspan=6></td>
</tr>
<tr>
<td width=40 height=198 colspan=2></td>
<td width=407 height=198 colspan=3>
<table border=0 valign=top cellpadding=0 cellspacing=0>
<tr>
<td width=18 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=1 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=100 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=31 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=85 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=94 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=27 height=0 nowrap><img src="v3_space.gif" border=0></td>
<td width=9 height=0 nowrap><img src="v3_space.gif" border=0></td>
</tr>
<tr>
<td width=18 height=26><font face="Monotype Sorts" color="#0066FF" size=2>n</font></td>
<td width=338 height=26 colspan=6><font face=Tahoma size=4>Prefer vector or
deque over arrays</font><br>
</td>
<td width=51 height=26 colspan=2></td>
</tr>
<tr>
<td width=407 height=5 colspan=9></td>
</tr>
<tr>
<td width=18 height=26><font face="Monotype Sorts" color="#0066FF" size=2>n</font></td>
<td width=347 height=26 colspan=7><font face=Tahoma size=4>Don抰 have to
know size in advance</font><br>
</td>
<td width=42 height=26></td>
</tr>
<tr>
<td width=407 height=4 colspan=9></td>
</tr>
<tr>
<td width=18 height=26><font face="Monotype Sorts" color="#0066FF" size=2>n</font></td>
<td width=311 height=26 colspan=5><font face=Tahoma size=4>Don抰 have to
keep track of size</font><br>
</td>
<td width=78 height=26 colspan=3></td>
</tr>
<tr>
<td width=18 height=25></td>
<td width=101 height=25 colspan=2><font face=Tahoma size=4>separately</font><br>
</td>
<td width=288 height=25 colspan=6></td>
</tr>
<tr>
<td width=407 height=5 colspan=9></td>
</tr>
<tr>
<td width=18 height=26><font face="Monotype Sorts" color="#0066FF" size=2>n</font></td>
<td width=217 height=26 colspan=4><font face=Tahoma size=4>Little loss of
efficiency</font><br>
</td>
<td width=172 height=26 colspan=4></td>
</tr>
<tr>
<td width=407 height=4 colspan=9></td>
</tr>
<tr>
<td width=18 height=26><font face="Monotype Sorts" color="#0066FF" size=2>n</font></td>
<td width=389 height=26 colspan=8><font face=Tahoma size=4>Vector works
well with legacy code that</font><br>
</td>
</tr>
<tr>
<td width=18 height=25></td>
<td width=132 height=25 colspan=3><font face=Tahoma size=4>expect arrays</font><br>
</td>
<td width=257 height=25 colspan=5></td>
</tr>
</table>
</td>
<td width=28 height=198></td>
</tr>
<tr>
<td width=475 height=52 colspan=6></td>
</tr>
<tr>
<td width=40 height=8 colspan=2></td>
<td width=70 height=8><img src="v3_master19_image064.gif" border=0 width=70
height=8></td>
<td width=365 height=8 colspan=3></td>
</tr>
<tr>
<td width=475 height=13 colspan=6></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -