张江楠
2 years ago
parent
c721617140
commit
64942727bd
@ -0,0 +1,128 @@
|
||||
<?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="2196" height="3996">
|
||||
<rect x="0" y="0" width="2196" height="3996" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,288 828,375"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,396 848,361 807,361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,3600 828,3687"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,3708 848,3673 807,3673"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 684,144 A 72 72, 0, 0 0, 684 288 L 972,288 A 72 72, 0, 0 0, 972 144 Z"/>
|
||||
<text x="828" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 684,3708 A 72 72, 0, 0 0, 684 3852 L 972,3852 A 72 72, 0, 0 0, 972 3708 Z"/>
|
||||
<text x="828" y="3729" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">End</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,648 828,735"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,756 848,721 807,721"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,900 828,987"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,1008 848,973 807,973"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,1152 828,1239"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,1260 848,1225 807,1225"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,1404 828,1527"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,1548 848,1513 807,1513"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,1692 828,2319"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,2340 848,2305 807,2305"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,2484 828,3075"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,3096 848,3061 807,3061"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 396,396 L 396,648 L 1260,648 L 1260,396 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="396,432 1260,432"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="432,396 432,648"/>
|
||||
<text x="846" y="453" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="846" dy="72" unicode-bidi="embed">Integer Book*book=book1</tspan>
|
||||
<tspan x="846" dy="72" unicode-bidi="embed"> Reader*reader=reader1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 576,756 L 576,900 L 1080,900 L 1080,756 Z"/>
|
||||
<text x="828" y="777" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">bookNUm = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 540,1008 L 540,1152 L 1116,1152 L 1116,1008 Z"/>
|
||||
<text x="828" y="1029" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">readerNUm = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 540,1260 L 540,1404 L 1116,1404 L 1116,1260 Z"/>
|
||||
<text x="828" y="1281" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">mangerNUm = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1152,1620 1548,1620 1548,1743"/>
|
||||
<polygon fill="#404040" stroke="none" points="1548,1764 1568,1729 1527,1729"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1548,2052 1548,2160 900,2160 900,1712"/>
|
||||
<polygon fill="#404040" stroke="none" points="900,1692 879,1726 920,1726"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1188,1764 L 1044,2052 L 1908,2052 L 2052,1764 Z"/>
|
||||
<text x="1548" y="1785" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">Output readerNUm</tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">++; </tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">reader=reader->next;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 576,1548 L 504,1620 L 576,1692 L 1080,1692 L 1152,1620 L 1080,1548 Z"/>
|
||||
<text x="828" y="1569" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">reader!=NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<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">True</tspan>
|
||||
</text>
|
||||
<text x="702" y="1713" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="702" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1152,2412 1548,2412 1548,2535"/>
|
||||
<polygon fill="#404040" stroke="none" points="1548,2556 1568,2521 1527,2521"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1548,2844 1548,2952 900,2952 900,2504"/>
|
||||
<polygon fill="#404040" stroke="none" points="900,2484 879,2518 920,2518"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1188,2556 L 1044,2844 L 1908,2844 L 2052,2556 Z"/>
|
||||
<text x="1548" y="2577" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">Output readerNUm</tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">++; </tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">reader=reader->next;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 576,2340 L 504,2412 L 576,2484 L 1080,2484 L 1152,2412 L 1080,2340 Z"/>
|
||||
<text x="828" y="2361" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">reader!=NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1260" y="2289" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1260" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="702" y="2505" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="702" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 396,3096 L 144,3600 L 1260,3600 L 1512,3096 Z"/>
|
||||
<text x="828" y="3117" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">Output printf</tspan>
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">("本图书馆共有藏书%d本,</tspan>
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">读者%d人\n", bookNUm,</tspan>
|
||||
<tspan x="828" dy="72" unicode-bidi="embed"> readerNUm); </tspan>
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">printf</tspan>
|
||||
<tspan x="828" dy="72" unicode-bidi="embed">("按任意键返回\n");</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 8.4 KiB |
@ -0,0 +1,75 @@
|
||||
<?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="2412" height="2484">
|
||||
<rect x="0" y="0" width="2412" height="2484" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,288 612,375"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,396 632,361 591,361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,2088 612,2175"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,2196 632,2161 591,2161"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 468,144 A 72 72, 0, 0 0, 468 288 L 756,288 A 72 72, 0, 0 0, 756 144 Z"/>
|
||||
<text x="612" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">Main</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 468,2196 A 72 72, 0, 0 0, 468 2340 L 756,2340 A 72 72, 0, 0 0, 756 2196 Z"/>
|
||||
<text x="612" y="2217" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">End</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,540 612,663"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,684 632,649 591,649"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,828 612,1707"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,1728 632,1693 591,1693"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 288,396 L 288,540 L 936,540 L 936,396 Z"/>
|
||||
<text x="612" y="417" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">Book*book = book1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="936,756 1548,756 1548,879"/>
|
||||
<polygon fill="#404040" stroke="none" points="1548,900 1568,865 1527,865"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1548,1476 1548,1584 684,1584 684,848"/>
|
||||
<polygon fill="#404040" stroke="none" points="684,828 663,862 704,862"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1116,900 L 828,1476 L 1980,1476 L 2268,900 Z"/>
|
||||
<text x="1548" y="921" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">Output printf("%d\t%s\t%s\t</tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">%s\t%d\n", book->iNum,</tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed"> book->acName, book-></tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">acAuthor, book->acPress,</tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed"> book-></tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">iAmount); </tspan>
|
||||
<tspan x="1548" dy="72" unicode-bidi="embed">book = book->next;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 360,684 L 288,756 L 360,828 L 864,828 L 936,756 L 864,684 Z"/>
|
||||
<text x="612" y="705" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">book!=NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1044" y="633" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1044" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="486" y="849" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="486" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 324,1728 L 144,2088 L 900,2088 L 1080,1728 Z"/>
|
||||
<text x="612" y="1749" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">Output printf("\</tspan>
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">n按任意键返回\</tspan>
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">getchar();</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,281 @@
|
||||
<?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="6480" height="11124">
|
||||
<rect x="0" y="0" width="6480" height="11124" 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,10728 756,10815"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,10836 776,10801 735,10801"/>
|
||||
<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">kaishi</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 612,10836 A 72 72, 0, 0 0, 612 10980 L 900,10980 A 72 72, 0, 0 0, 900 10836 Z"/>
|
||||
<text x="756" y="10857" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">End</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,4068 756,4191"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,4212 776,4177 735,4177"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,4356 756,10419"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,10440 776,10405 735,10405"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 432,396 L 432,540 L 1080,540 L 1080,396 Z"/>
|
||||
<text x="756" y="417" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Book*book = book1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1044,828 2700,828 2700,1059"/>
|
||||
<polygon fill="#404040" stroke="none" points="2700,1080 2720,1045 2679,1045"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2700,3888 2700,4032 812,4032"/>
|
||||
<polygon fill="#404040" stroke="none" points="792,4032 826,4052 826,4011"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="468,828 180,828 180,4032 699,4032"/>
|
||||
<polygon fill="#404040" stroke="none" points="720,4032 685,4011 685,4052"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 756,648 L 432,828 L 756,1008 L 1080,828 Z"/>
|
||||
<text x="756" y="777" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">book==NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2232,1080 L 828,3888 L 3168,3888 L 4572,1080 Z"/>
|
||||
<text x="2700" y="1101" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">Output Book* tmp = (Book*)</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">malloc(sizeof</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">(Book)); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		tmp->next = NULL</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		assert</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">(tmp); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">("输入书的编号:"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		scanf("%d", &tmp-></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">iNum); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		getchar</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">(); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">("输入书的名称:"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		gets(&tmp-></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">acName); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">("输入书的作者:"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		gets(tmp-></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">acAuthor); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">("输入书的出版社:"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		gets(tmp-></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">acPress); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">("输入书的库存量:"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		scanf("%d", &tmp-></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">iAmount); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		book = tmp</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed"></tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed"> </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		printf("按任意键返回\</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		getchar</tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">(); </tspan>
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">		return book;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="756" cy="4032" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="1188" y="705" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="306" y="705" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="306" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="972,4284 1440,4284 1440,4443"/>
|
||||
<polygon fill="#404040" stroke="none" points="1440,4464 1460,4429 1419,4429"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1440,10188 1440,10296 828,10296 828,4376"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,4356 807,4390 848,4390"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1440,4608 1440,10023"/>
|
||||
<polygon fill="#404040" stroke="none" points="1440,10044 1460,10009 1419,10009"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1836,4536 2016,4536 2016,4659"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,4680 2036,4645 1995,4645"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,5400 2016,9900 1512,9900 1512,4628"/>
|
||||
<polygon fill="#404040" stroke="none" points="1512,4608 1491,4642 1532,4642"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,4860 2016,4947"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,4968 2036,4933 1995,4933"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,5112 2016,5235"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,5256 2036,5221 1995,5221"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1800,4680 L 1800,4860 L 2232,4860 L 2232,4680 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="1800,4716 2232,4716"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="1836,4680 1836,4860"/>
|
||||
<text x="2034" y="4737" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2034" dy="72" unicode-bidi="embed">Integer flag</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1800,4968 L 1800,5112 L 2232,5112 L 2232,4968 Z"/>
|
||||
<text x="2016" y="4989" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">flag = 1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2232,5328 4284,5328 4284,5451"/>
|
||||
<polygon fill="#404040" stroke="none" points="4284,5472 4304,5437 4263,5437"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4284,9648 4284,9756 2088,9756 2088,5420"/>
|
||||
<polygon fill="#404040" stroke="none" points="2088,5400 2067,5434 2108,5434"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4284,8640 4284,8727"/>
|
||||
<polygon fill="#404040" stroke="none" points="4284,8748 4304,8713 4263,8713"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 3816,5472 L 2232,8640 L 4752,8640 L 6336,5472 Z"/>
|
||||
<text x="4284" y="5493" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">Output Book* tmp = (Book*)</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">malloc(sizeof</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">(Book)); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"> </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				tmp->next = NULL</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				assert</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">(tmp); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">("输入书的编号:"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				scanf("%d", &tmp-></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">iNum); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				getchar</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">(); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">("输入书的名称:"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				gets(&tmp-></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">acName); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">("输入书的作者:"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				gets(tmp-></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">acAuthor); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">("输入书的出版社:"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				gets(tmp-></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">acPress); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">("输入书的库存量:"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				scanf("%d", &tmp-></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">iAmount); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"> </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				book->next = tmp</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed"> </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				printf("是否继续输入:1==></tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">继续\t0==>结束\</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">t"); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				scanf("%d", &</tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">flag); </tspan>
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">				getchar();</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4464,8856 5040,8856 5040,9015"/>
|
||||
<polygon fill="#404040" stroke="none" points="5040,9036 5060,9001 5019,9001"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="5040,9468 5040,9612 4340,9612"/>
|
||||
<polygon fill="#404040" stroke="none" points="4320,9612 4354,9632 4354,9591"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4104,8856 3816,8856 3816,9612 4227,9612"/>
|
||||
<polygon fill="#404040" stroke="none" points="4248,9612 4213,9591 4213,9632"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 4284,8748 L 4068,8856 L 4284,8964 L 4500,8856 Z"/>
|
||||
<text x="4284" y="8805" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4284" dy="72" unicode-bidi="embed">flag==0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 4572,9036 L 4356,9468 L 5508,9468 L 5724,9036 Z"/>
|
||||
<text x="5040" y="9057" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">Output printf("按任意键返回\</tspan>
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">					getchar</tspan>
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">(); </tspan>
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">					return book1;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="4284" cy="9612" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="4608" y="8733" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4608" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="3942" y="8733" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3942" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 1872,5256 L 1800,5328 L 1872,5400 L 2160,5400 L 2232,5328 L 2160,5256 Z"/>
|
||||
<text x="2016" y="5277" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">flag</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2340" y="5205" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2340" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="1890" y="5421" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1890" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1116,4464 L 1044,4536 L 1116,4608 L 1764,4608 L 1836,4536 L 1764,4464 Z"/>
|
||||
<text x="1440" y="4485" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1440" dy="72" unicode-bidi="embed">book->next==NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1944" y="4413" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1944" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="1314" y="4629" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1314" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1044,10044 L 972,10188 L 1836,10188 L 1908,10044 Z"/>
|
||||
<text x="1440" y="10065" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1440" dy="72" unicode-bidi="embed">Output book=book->next</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 612,4212 L 540,4284 L 612,4356 L 900,4356 L 972,4284 L 900,4212 Z"/>
|
||||
<text x="756" y="4233" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1080" y="4161" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="630" y="4377" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="630" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 288,10440 L 144,10728 L 1224,10728 L 1368,10440 Z"/>
|
||||
<text x="756" y="10461" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Output printf("按任意键返回\</tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">	getchar();</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,183 @@
|
||||
<?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="5724" height="5472">
|
||||
<rect x="0" y="0" width="5724" height="5472" 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,5076 756,5163"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,5184 776,5149 735,5149"/>
|
||||
<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">begin</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 432,5184 A 72 72, 0, 0 0, 432 5328 L 1080,5328 A 72 72, 0, 0 0, 1080 5184 Z"/>
|
||||
<text x="756" y="5205" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Return Integer book1</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,1116 756,1203"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,1224 776,1189 735,1189"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1404 756,1491"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,1512 776,1477 735,1477"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1656 756,1779"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,1800 776,1765 735,1765"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1944 756,4551"/>
|
||||
<polygon fill="#404040" stroke="none" points="756,4572 776,4537 735,4537"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 432,396 L 432,540 L 1080,540 L 1080,396 Z"/>
|
||||
<text x="756" y="417" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Book*book = book1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 432,648 L 432,792 L 1080,792 L 1080,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*pre = book1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 324,900 L 216,1116 L 1188,1116 L 1296,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">Output printf</tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">("输入要处理旧书的编号:");</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 540,1224 L 540,1404 L 972,1404 L 972,1224 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="540,1260 972,1260"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="576,1224 576,1404"/>
|
||||
<text x="774" y="1281" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="774" dy="72" unicode-bidi="embed">Integer id</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="5" stroke-dasharray="none" d="M 612,1512 L 540,1656 L 900,1656 L 972,1512 Z"/>
|
||||
<text x="756" y="1533" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Input id</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1080,1872 2088,1872 2088,1995"/>
|
||||
<polygon fill="#404040" stroke="none" points="2088,2016 2108,1981 2067,1981"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2088,4320 2088,4428 828,4428 828,1964"/>
|
||||
<polygon fill="#404040" stroke="none" points="828,1944 807,1978 848,1978"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2412,2196 4212,2196 4212,2427"/>
|
||||
<polygon fill="#404040" stroke="none" points="4212,2448 4232,2413 4191,2413"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4212,4140 4212,4284 2144,4284"/>
|
||||
<polygon fill="#404040" stroke="none" points="2124,4284 2158,4304 2158,4263"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1764,2196 1476,2196 1476,2427"/>
|
||||
<polygon fill="#404040" stroke="none" points="1476,2448 1496,2413 1455,2413"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1476,2736 1476,4284 2031,4284"/>
|
||||
<polygon fill="#404040" stroke="none" points="2052,4284 2017,4263 2017,4304"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2088,2016 L 1728,2196 L 2088,2376 L 2448,2196 Z"/>
|
||||
<text x="2088" y="2145" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="72" unicode-bidi="embed">id==book->iNUm</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4500,2628 4932,2628 4932,2859"/>
|
||||
<polygon fill="#404040" stroke="none" points="4932,2880 4952,2845 4911,2845"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4932,3312 4932,4104 4268,4104"/>
|
||||
<polygon fill="#404040" stroke="none" points="4248,4104 4282,4124 4282,4083"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3924,2628 3168,2628 3168,2859"/>
|
||||
<polygon fill="#404040" stroke="none" points="3168,2880 3188,2845 3147,2845"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3168,3960 3168,4104 4155,4104"/>
|
||||
<polygon fill="#404040" stroke="none" points="4176,4104 4141,4083 4141,4124"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 4212,2448 L 3888,2628 L 4212,2808 L 4536,2628 Z"/>
|
||||
<text x="4212" y="2577" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4212" dy="72" unicode-bidi="embed">book1==book</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 4500,2880 L 4284,3312 L 5364,3312 L 5580,2880 Z"/>
|
||||
<text x="4932" y="2901" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4932" dy="72" unicode-bidi="embed">Output book = book->next</tspan>
|
||||
<tspan x="4932" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="4932" dy="72" unicode-bidi="embed">				free</tspan>
|
||||
<tspan x="4932" dy="72" unicode-bidi="embed">(prev); </tspan>
|
||||
<tspan x="4932" dy="72" unicode-bidi="embed">				return book;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2736,2880 L 2196,3960 L 3600,3960 L 4140,2880 Z"/>
|
||||
<text x="3168" y="2901" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">Output prev->next = book-></tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">next</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">			free(book); //</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed"> free</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">():释放资源 </tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">			printf</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">("已将旧书处理掉!\</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">			printf("按任意键返回\</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">			getchar</tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">(); </tspan>
|
||||
<tspan x="3168" dy="72" unicode-bidi="embed">			return book1;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<ellipse cx="4212" cy="4104" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="4644" y="2505" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4644" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="3762" y="2505" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3762" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1152,2448 L 1008,2736 L 1800,2736 L 1944,2448 Z"/>
|
||||
<text x="1476" y="2469" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1476" dy="72" unicode-bidi="embed">Output prev = book</tspan>
|
||||
<tspan x="1476" dy="72" unicode-bidi="embed">; </tspan>
|
||||
<tspan x="1476" dy="72" unicode-bidi="embed">		book = book->next;</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<ellipse cx="2088" cy="4284" rx="36" ry="36" fill="#C04040" stroke="#602020" stroke-width="5"/>
|
||||
<text x="2556" y="2073" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2556" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="1602" y="2073" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1602" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 504,1800 L 432,1872 L 504,1944 L 1008,1944 L 1080,1872 L 1008,1800 Z"/>
|
||||
<text x="756" y="1821" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">book!=NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1188" y="1749" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="630" y="1965" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="630" dy="72" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 396,4572 L 144,5076 L 1116,5076 L 1368,4572 Z"/>
|
||||
<text x="756" y="4593" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">Output printf</tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">("没有找到该图书\</tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">	printf("按任意键返回\</tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">n"); </tspan>
|
||||
<tspan x="756" dy="72" unicode-bidi="embed">	getchar();</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 13 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue