81 lines
8.9 KiB
XML
81 lines
8.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1121" viewBox="0 0 1200 1121" role="img" aria-labelledby="title desc">
|
|
<title id="title">数组与数据批量存储:本章知识结构</title>
|
|
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
|
|
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
|
|
<rect width="1200" height="1121" fill="white"/>
|
|
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
|
|
<rect x="330" y="15" width="540" height="60" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="600.0" y="45.0" text-anchor="middle" dominant-baseline="central" font-size="27" fill="#193b32">数组与数据批量存储</text>
|
|
<path d="M330 45 H25 V979.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<line x1="25" y1="342.0" x2="55" y2="342.0" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="55" y="307.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="147.5" y="342.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">一维数组</text>
|
|
<path d="M240 342.0 C265 342.0 265 159.0 290 159.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="130.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="159.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-1:小鱼比可爱</text>
|
|
<path d="M610 159.0 C645 159.0 645 127.0 680 127.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="100.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="127.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组的定义</text>
|
|
<path d="M610 159.0 C645 159.0 645 191.0 680 191.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="164.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="191.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组元素的输入、访问和输出</text>
|
|
<path d="M240 342.0 C265 342.0 265 297.0 290 297.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="268.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="297.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-2:小鱼的数字游戏</text>
|
|
<path d="M610 297.0 C645 297.0 645 265.0 680 265.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="238.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="265.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组元素数量</text>
|
|
<path d="M610 297.0 C645 297.0 645 329.0 680 329.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="302.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="329.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组越界</text>
|
|
<path d="M240 342.0 C265 342.0 265 435.0 290 435.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="406.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="435.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-3:冰雹猜想</text>
|
|
<path d="M610 435.0 C645 435.0 645 403.0 680 403.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="376.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="403.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">使用常量固定数组元素个数</text>
|
|
<path d="M610 435.0 C645 435.0 645 467.0 680 467.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="440.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="467.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">使用数组存放中间计算结果</text>
|
|
<path d="M240 342.0 C265 342.0 265 549.0 290 549.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="520.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="549.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-4:校门外的树</text>
|
|
<path d="M610 549.0 C645 549.0 645 549.0 680 549.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="522.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="549.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组的初始化</text>
|
|
<line x1="25" y1="738.0" x2="55" y2="738.0" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="55" y="703.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="147.5" y="738.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">多维数组</text>
|
|
<path d="M240 738.0 C265 738.0 265 693.0 290 693.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="651.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="677.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-5:旗鼓相当的对手</text>
|
|
<text x="450.0" y="708.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-6:地毯</text>
|
|
<path d="M610 693.0 C645 693.0 645 661.0 680 661.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="634.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="661.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">定义和使用二维数组</text>
|
|
<path d="M610 693.0 C645 693.0 645 725.0 680 725.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="698.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="725.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">二维矩阵的循环枚举</text>
|
|
<path d="M240 738.0 C265 738.0 265 807.0 290 807.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="778.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="807.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-7:工艺品制作</text>
|
|
<path d="M610 807.0 C645 807.0 645 807.0 680 807.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="780.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="807.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">定义和使用多维数组</text>
|
|
<line x1="25" y1="979.0" x2="55" y2="979.0" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="55" y="944.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="147.5" y="979.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组应用案例</text>
|
|
<path d="M240 979.0 C265 979.0 265 934.0 290 934.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="892.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="918.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-8:彩票摇奖</text>
|
|
<text x="450.0" y="949.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-9:神奇的幻方</text>
|
|
<path d="M610 934.0 C645 934.0 645 934.0 680 934.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="907.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="934.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">数组使用的各种案例</text>
|
|
<path d="M240 979.0 C265 979.0 265 1031.0 290 1031.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="1002.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="1031.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例5-10:显示屏</text>
|
|
<path d="M610 1031.0 C645 1031.0 645 1031.0 680 1031.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="1004.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="1031.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">使用数组存储字符串</text>
|
|
</g></svg> |