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.
text4/打印函数流程图.drawio.svg

184 lines
15 KiB

2 years ago
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="311px" height="531px" viewBox="-0.5 -0.5 311 531" content="&lt;mxfile&gt;&lt;diagram id=&quot;i96Nez9GN15IXfs4PTej&quot; name=&quot;Page-1&quot;&gt;zVhRb5swEP41lrqHVoCBwGNI6PbQdZOiaeujAyZ4AhwZp0n263eASQKmbdqkaaWqvTvfGd/n83d2EZ7km6+CLNPvPKYZsox4g/AUWdZoNILflWHbGFzDbgwLweLGZO4NM/aPKqOhrCsW07LjKDnPJFt2jREvChrJjo0Iwdddt4Rn3a8uyYJqhllEMt36m8UybayeY+zt3yhbpO2XTUON5KR1VoYyJTFfH5hwiPBEcC4bKd9MaFZh1+LSxN0+MbpbmKCFPCZA4f5IspXKTa1LbttkaQy5K7XgBfwJUplnoJkgNu6Vz5MrUKaSr0SkvNRXJBELqrzwLnuoGspzKsUWXATNiGSP3dmJ2r/Fzm+fIggqy+GMLS3jZCkYrNVyM1hKMBcgLSoJhS7yfORjFDrIm6LA0LHJMqi5CpJ1yiSdLUmd4RqqfgimRyok3TwPlA6BCrDa8lKHZqTU9b4CzfaApAfV1/qdAhrWQCvlKoaF38hN/Rk8vf91d6fhI1Kez1flZfCxnQ4+5iBAjg6QdwaAHA0gumHyyvjyoSVj90rG9AYgMQYgcc8AielpmDyEMx2PIh5XlAxalJGyZNHbCOYE6lChP3lNAy14uAeeZfg3TneShtJU3CHL9qbq78PAVA0ValPVIO9yOgp3230lhVeV+gdkA9bUaA8HI9MqB6NVtq1SwHoOgir14XBsH1Zrbdwb24Wr9wvbvlTDcPUeCQ0BuoHnVsJ4isYgjJBvI/8WhTYKxtUPdA+/dgMf30LeBIUeGt+iIKycxx7ygrqxgJtfCzCVU0dB2xnV8wQo0DdT8FUR01ht0eV5FZtH8qpzjsZj6uC/lkE+f31jvbybqjs/qVldJsJGb5OOpjTvhYnOR2hYv33c/xjkuDsyh4cGDgQt2T8yr4eMbjGQjC0KkDOaVHe86mQwuNiPlXnOpeT5biPVA0JNhXbX9hcOFH7+RF2rkBP38tq0elvQnYEnSUlP7iajIw7gO7wQbHuA8p0LUb6tP4vqN0KiPxLgHoycgCFnelNGXFBQ/oLy+Vh76Or3Xqxt+x9UNM5A0XiXKhr9DXBM0azyZ8cJVMGnKybbvWQx6e+IJMp4Sa+S5cc+r/qwOM77wQLq/r9CDY/v/7WGw/8=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 59.46 70 L 58.65 94.29" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 58.47 99.53 L 55.21 92.42 L 58.65 94.29 L 62.21 92.66 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="60" cy="35" rx="55" ry="35" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 108px; height: 1px; padding-top: 35px; margin-left: 6px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
fprint
<br/>
打印
</div>
</div>
</div>
</foreignObject>
<text x="60" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
fprint...
</text>
</switch>
</g>
<path d="M 57.5 100 L 115 140 L 57.5 180 L 0 140 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 140px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
student.txt==NULL
</div>
</div>
</div>
</foreignObject>
<text x="58" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
student.txt==NULL
</text>
</switch>
</g>
<ellipse cx="257.5" cy="140" rx="52.5" ry="30" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 103px; height: 1px; padding-top: 140px; margin-left: 206px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
exit(0)
</div>
</div>
</div>
</foreignObject>
<text x="258" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
exit(0)
</text>
</switch>
</g>
<path d="M 105 139.5 L 198.63 139.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 203.88 139.5 L 196.88 143 L 198.63 139.5 L 196.88 136 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 140px; margin-left: 155px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
YES
</div>
</div>
</div>
</foreignObject>
<text x="155" y="143" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
YES
</text>
</switch>
</g>
<path d="M 57.5 290 L 57.5 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 57.5 308.88 L 54 301.88 L 57.5 303.63 L 61 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="240" width="115" height="50" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 265px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
将学生人数和课程写入文件
</div>
</div>
</div>
</foreignObject>
<text x="58" y="269" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
将学生人数和课程写入文件
</text>
</switch>
</g>
<path d="M 57.5 180 L 57.5 233.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 57.5 238.88 L 54 231.88 L 57.5 233.63 L 61 231.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-end; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 208px; margin-left: 48px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: left;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
NO
</div>
</div>
</div>
</foreignObject>
<text x="48" y="208" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px">
NO
</text>
</switch>
</g>
<path d="M 57.5 360 L 57.5 383.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 57.5 388.88 L 54 381.88 L 57.5 383.63 L 61 381.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="310" width="115" height="50" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 335px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
printf
<br/>
stu[i].score[j]
</div>
</div>
</div>
</foreignObject>
<text x="58" y="339" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
printf...
</text>
</switch>
</g>
<path d="M 57.5 440 L 57.5 473.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 57.5 478.88 L 54 471.88 L 57.5 473.63 L 61 471.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="390" width="115" height="50" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 415px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
printf
<br/>
stu[i].sum
<br/>
stu[i].aver
</div>
</div>
</div>
</foreignObject>
<text x="58" y="419" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
printf...
</text>
</switch>
</g>
<ellipse cx="57.5" cy="505" rx="57.5" ry="25" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 505px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
fclose(fp)
</div>
</div>
</div>
</foreignObject>
<text x="58" y="509" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
fclose(fp)
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>