You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/Bookread.svg

185 lines
12 KiB

2 years ago
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created by Flowgorithm 3.4.2 (http://flowgorithm.org) -->
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="2556" height="4860">
<rect x="0" y="0" width="2556" height="4860" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,288 756,375"/>
<polygon fill="#404040" stroke="none" points="756,396 776,361 735,361"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,4464 756,4551"/>
<polygon fill="#404040" stroke="none" points="756,4572 776,4537 735,4537"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 612,144 A 72 72, 0, 0 0, 612 288 L 900,288 A 72 72, 0, 0 0, 900 144 Z"/>
<text x="756" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Bookread</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 612,4572 A 72 72, 0, 0 0, 612 4716 L 900,4716 A 72 72, 0, 0 0, 900 4572 Z"/>
<text x="756" y="4593" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">&#32467;&#26463;</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,540 756,627"/>
<polygon fill="#404040" stroke="none" points="756,648 776,613 735,613"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,792 756,879"/>
<polygon fill="#404040" stroke="none" points="756,900 776,865 735,865"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1044 756,1131"/>
<polygon fill="#404040" stroke="none" points="756,1152 776,1117 735,1117"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1296 756,1383"/>
<polygon fill="#404040" stroke="none" points="756,1404 776,1369 735,1369"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,2484 756,2571"/>
<polygon fill="#404040" stroke="none" points="756,2592 776,2557 735,2557"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,2808 756,2895"/>
<polygon fill="#404040" stroke="none" points="756,2916 776,2881 735,2881"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,3132 756,4299"/>
<polygon fill="#404040" stroke="none" points="756,4320 776,4285 735,4285"/>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="5" stroke-dasharray="none" d="M 576,396 A 36 72, 0, 0 0, 576 540 L 972,540 A 36 72, 0, 0 1, 972 396 Z"/>
<text x="756" y="417" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">&#38405;&#35835;FILE</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 396,648 L 396,792 L 1116,792 L 1116,648 Z"/>
<text x="756" y="669" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Book pHead = NULL</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 468,900 L 468,1044 L 1044,1044 L 1044,900 Z"/>
<text x="756" y="921" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">* pTemp = NULL</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 468,1152 L 468,1296 L 1044,1296 L 1044,1152 Z"/>
<text x="756" y="1173" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">*pTemp = NULL</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1152,1620 1332,1620 1332,1887"/>
<polygon fill="#404040" stroke="none" points="1332,1908 1352,1873 1311,1873"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1332,2304 1332,2448 812,2448"/>
<polygon fill="#404040" stroke="none" points="792,2448 826,2468 826,2427"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="360,1620 180,1620 180,2448 699,2448"/>
<polygon fill="#404040" stroke="none" points="720,2448 685,2427 685,2468"/>
<g>
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 756,1404 L 324,1620 L 756,1836 L 1188,1620 Z"/>
<text x="756" y="1569" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">fp = fopen() == NULL</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1332,2052 1332,2139"/>
<polygon fill="#404040" stroke="none" points="1332,2160 1352,2125 1311,2125"/>
<g>
<path fill="#E0E0E0" stroke="#505050" stroke-width="5" stroke-dasharray="none" d="M 1188,1908 L 1116,2052 L 1476,2052 L 1548,1908 Z"/>
<text x="1332" y="1929" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1332" dy="72" unicode-bidi="embed">&#36755;&#20986;</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 1116,2160 L 1116,2304 L 1548,2304 L 1548,2160 Z"/>
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="1152,2160 1152,2304"/>
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="1512,2160 1512,2304"/>
<text x="1332" y="2181" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1332" dy="72" unicode-bidi="embed">exit()</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="756" cy="2448" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
<text x="1260" y="1497" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1260" dy="72" unicode-bidi="embed">&#30495;</tspan>
</text>
<text x="252" y="1497" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="252" dy="72" unicode-bidi="embed">&#20551;</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 360,2592 L 360,2808 L 1152,2808 L 1152,2592 Z"/>
<text x="756" y="2613" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">pTemp = (Book*)malloc</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">(sizeof(Book))</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1188,3024 1800,3024 1800,3183"/>
<polygon fill="#404040" stroke="none" points="1800,3204 1820,3169 1779,3169"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1800,4068 1800,4176 828,4176 828,3152"/>
<polygon fill="#404040" stroke="none" points="828,3132 807,3166 848,3166"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1980,3312 2160,3312 2160,3471"/>
<polygon fill="#404040" stroke="none" points="2160,3492 2180,3457 2139,3457"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2160,3636 2160,4032 1856,4032"/>
<polygon fill="#404040" stroke="none" points="1836,4032 1870,4052 1870,4011"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1620,3312 1368,3312 1368,3471"/>
<polygon fill="#404040" stroke="none" points="1368,3492 1388,3457 1347,3457"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1368,3888 1368,4032 1743,4032"/>
<polygon fill="#404040" stroke="none" points="1764,4032 1729,4011 1729,4052"/>
<g>
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 1800,3204 L 1584,3312 L 1800,3420 L 2016,3312 Z"/>
<text x="1800" y="3261" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1800" dy="72" unicode-bidi="embed">!pHead</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1908,3492 L 1908,3636 L 2412,3636 L 2412,3492 Z"/>
<text x="2160" y="3513" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2160" dy="72" unicode-bidi="embed">pHead = pCur</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1368,3636 1368,3723"/>
<polygon fill="#404040" stroke="none" points="1368,3744 1388,3709 1347,3709"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1008,3492 L 1008,3636 L 1728,3636 L 1728,3492 Z"/>
<text x="1368" y="3513" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1368" dy="72" unicode-bidi="embed">pCur-&gt;next = pTemp</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1116,3744 L 1116,3888 L 1620,3888 L 1620,3744 Z"/>
<text x="1368" y="3765" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1368" dy="72" unicode-bidi="embed">pCur = pTemp</tspan>
</text>
</g>
</g>
<ellipse cx="1800" cy="4032" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
<text x="2088" y="3189" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2088" dy="72" unicode-bidi="embed">&#30495;</tspan>
</text>
<text x="1512" y="3189" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1512" dy="72" unicode-bidi="embed">&#20551;</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 432,2916 L 324,3024 L 432,3132 L 1080,3132 L 1188,3024 L 1080,2916 Z"/>
<text x="756" y="2937" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">fread(pTemp, sizeof</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">(Book),1,fp)</tspan>
</text>
</g>
<text x="1260" y="2901" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1260" dy="72" unicode-bidi="embed">&#30495;</tspan>
</text>
<text x="684" y="3153" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="684" dy="72" unicode-bidi="embed">&#20551;</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 540,4320 L 540,4464 L 972,4464 L 972,4320 Z"/>
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="576,4320 576,4464"/>
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="936,4320 936,4464"/>
<text x="756" y="4341" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">fclose(fp)</tspan>
</text>
</g>
</g>
</g>
</svg>