📄 slide0072.htm
字号:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:p="urn:schemas-microsoft-com:office:powerpoint"
xmlns:oa="urn:schemas-microsoft-com:office:activation"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../z9.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>第九章 文件</title>
<meta name=Description content="2008-3-24: 9.5 二进制文件(了解)">
<link rel=Stylesheet href="master06_stylesheet.css">
<!--[if gte IE 5]>
<object id=MSOANIM classid="CLSID:A4639D2F-774E-11D3-A490-00C04F6843FB"></object>
<object id=MSOTIME classid="CLSID:A4639D29-774E-11D3-A490-00C04F6843FB"></object>
<![endif]-->
<![if !ppt]>
<style media=print>
<!--.sld
{left:0px !important;
width:6.0in !important;
height:4.5in !important;
font-size:107% !important;}
-->
</style>
<style>
<!--
oa\:* { BEHAVIOR: url(#MSOANIM#ANIM) url(#MSOTIME#TIME) }
oa\:par,oa\:seq,oa\:iterate { BEHAVIOR:url(#MSOTIME) }
oa\:video,oa\:audio {BEHAVIOR:url(#MSOTIME) url(#MSOTIME#MEDIA) }
-->
</style>
<script src=script.js></script><script><!--
if( !IsNts() ) Redirect( "PPTSld" );
//--></script><script><!--
g_animItemsToHide=new Array("_x0000_s146434_122_209","_x0000_s146434_99_122","_x0000_s146434_92_99","_x0000_s146434_75_92","_x0000_s146434_52_75","_x0000_s146434_45_52","_x0000_s146434_9_45","_x0000_s146434_0_9","_x0000_s146435_AllText","_x0000_s146435");
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]><o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="143"/>
</o:shapelayout>
</head>
<body lang=ZH-CN style='margin:0px;background-color:black'
onclick="DocumentOnClick()" onresize="_RSW()" onload="LoadSld()"
onkeypress="_KPH()" oa:clockstart="onstart">
<div id=SlideObj class=sld style='position:absolute;top:0px;left:0px;
width:534px;height:400px;font-size:16px;background-color:#E3DDBB;background-image:
url("master06_image001.jpg");clip:rect(0%, 101%, 101%, 0%);visibility:hidden'><p:slide
coordsize="720,540"
colors="#ffffff,#000000,#808080,#482400,#dfd6c3,#d69b80,#993300,#666600"
masterhref="master06.xml">
<p:shaperange href="master06.xml#_x0000_s192513"/><![if !ppt]><p:shaperange
href="master06.xml#_x0000_s192514"/><![if !vml]><img border=0
v:shapes="_x0000_s192514" src="master06_image005.jpg" style='position:absolute;
top:0%;left:0%;width:7.49%;height:100.0%'><![endif]><p:shaperange
href="master06.xml#_x0000_s192516"/><p:shaperange
href="master06.xml#_x0000_s192517"/><![endif]><p:shaperange
href="master06.xml#_x0000_m192520"/><v:shape id="_x0000_s146434" type="#_x0000_m192520"
style='position:absolute;left:60pt;top:84pt;width:660pt;height:408pt;
mso-wrap-style:square;v-text-anchor:top' o:userdrawn="f" o:insetmode="custom">
<v:fill o:detectmouseclick="f"/>
<v:stroke o:forcedash="f"/>
<o:lock v:ext="edit" text="f"/>
<v:textbox style='layout-flow:horizontal;mso-rotate:0;direction:LTR;
mso-rotate-with-shape:f;mso-fit-shape-to-text:f;mso-fit-text-to-shape:f'
inset="2.53972mm,1.2698mm,2.53972mm,1.2698mm" o:singleclick="t"/>
<p:placeholder type="body" position="1"/><p:animation number="2" delay="0"
type="text" level="1" effect="fly" direction="left" flag="17408"/></v:shape>
<div v:shape="_x0000_s146434" class=B>
<div id="_x0000_s146434_0_9" style='mso-line-spacing:"120 20 0";position:absolute;
top:17.5%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span lang=EN-US
style='font-size:75%;mso-fareast-language:ZH-CN'><b>1. </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>打开文件</b></span><span
style='font-size:75%'><b> </b></span></div>
<div id="_x0000_s146434_9_45" style='mso-line-spacing:"120 20 0";position:
absolute;top:24.75%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span style='mso-tab-count:2;width:11.12%'> </span></b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>Open<span
style='mso-spacerun:yes'> </span>"</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>文件名</b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>"<span
style='mso-spacerun:yes'> </span>For Binary<span
style='mso-spacerun:yes'> </span>As<span style='mso-spacerun:yes'>
</span>#</b></span><span style='font-family:宋体;mso-fareast-font-family:宋体;
font-size:75%;color:red'><b>文件号 </b></span></div>
<div id="_x0000_s146434_45_52" style='mso-line-spacing:"120 20 0";position:
absolute;top:32.25%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span lang=EN-US
style='font-size:75%;mso-fareast-language:ZH-CN'><b>2. </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>写操作 </b></span></div>
<div id="_x0000_s146434_52_75" style='mso-line-spacing:"120 20 0";position:
absolute;top:39.75%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span style='mso-tab-count:2;width:11.12%'> </span></b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>Put<span
style='mso-spacerun:yes'> </span>[#]</b></span><span style='font-family:
宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>文件号,</b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>[</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>位置</b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>]</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>,变量名 </b></span></div>
<div id="_x0000_s146434_75_92" style='mso-line-spacing:"120 20 0";position:
absolute;top:47.25%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span style='mso-tab-count:2;width:11.12%'> </span></b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>写入长度等于变量长度的数据。 </b></span></div>
<div id="_x0000_s146434_92_99" style='mso-line-spacing:"120 20 0";position:
absolute;top:54.75%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span lang=EN-US
style='font-size:75%;mso-fareast-language:ZH-CN'><b>3. </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>读操作 </b></span></div>
<div id="_x0000_s146434_99_122" style='mso-line-spacing:"120 20 0";position:
absolute;top:62.25%;left:9.36%;width:89.88%;height:5.25%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span style='mso-tab-count:2;width:11.12%'> </span></b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>GET<span
style='mso-spacerun:yes'> </span>[#]</b></span><span style='font-family:
宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>文件号,</b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>[</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>位置</b></span><span
lang=EN-US style='font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>]</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>,变量名 </b></span></div>
<div id="_x0000_s146434_122_209" style='mso-line-spacing:"120 20 0";
position:absolute;top:69.5%;left:9.36%;width:104.68%;height:24.25%;white-space:
nowrap'><span style='position:absolute;top:0%;left:0%;width:100.0%;height:
21.64%'><span style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span style='mso-tab-count:1;width:3.58%'> </span> <span
style='mso-tab-count:1;width:5.17%'> </span></b></span><span style='font-family:
宋体;mso-fareast-font-family:宋体;font-size:75%'><b>从指定位置开始读出长度等于变量长度的数据存入变</b></span></span><span
style='position:absolute;top:28.86%;left:3.57%;width:96.24%;height:19.58%'><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>量中,数据读出后移动变量长度位置,如果忽略位置,则</b></span></span><span
style='position:absolute;top:54.63%;left:3.57%;width:96.24%;height:19.58%'><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>表示从文件指针所指的位置开始读出数据,数据读出后移</b></span></span><span
style='position:absolute;top:79.38%;left:3.57%;width:82.28%;height:21.64%'><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>动变量长度位置。</b></span><span
style='font-size:75%'><b> <span style='mso-tab-count:1;width:9.99%'> </span></b></span></span></div>
</div>
<p:shaperange href="master06.xml#_x0000_m192515"/><v:shape id="_x0000_s146435"
type="#_x0000_m192515" style='position:absolute;left:1in;top:18pt;width:594pt;
height:60pt;mso-wrap-style:square;v-text-anchor:middle' o:spt="1"
o:userdrawn="f" path="m,l,21600r21600,l21600,xe" filled="f" fillcolor="#dfd6c3 [4]"
stroked="f" strokecolor="black [1]" o:insetmode="custom">
<v:fill o:detectmouseclick="f"/>
<v:stroke joinstyle="miter" o:forcedash="f"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" text="f" grouping="t"/>
<v:textbox style='layout-flow:horizontal;mso-rotate:0;direction:LTR;
mso-rotate-with-shape:f;mso-fit-shape-to-text:f;mso-fit-text-to-shape:f'
inset="2.53972mm,1.2698mm,2.53972mm,1.2698mm" o:singleclick="t"/>
<p:placeholder type="title"/><p:animation number="1" delay="0" type="object"
effect="fly" direction="left" flag="17408"/></v:shape>
<div id="_x0000_s146435_AllText" v:shape="_x0000_s146435" class=T
style='position:absolute;top:5.0%;left:11.04%;width:80.71%;height:8.5%;
white-space:nowrap'>
<div style='position:absolute;top:0%;left:0%;width:100.0%;height:100.0%'><span
lang=EN-US style='font-size:91%;color:black;mso-color-index:1;mso-fareast-language:
ZH-CN'><b>9.5<span style='mso-spacerun:yes'> </span></b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:91%;color:black;
mso-color-index:1'><b>二进制文件</b></span><span lang=EN-US style='font-size:64%;
color:black;mso-color-index:1;mso-fareast-language:ZH-CN'><b>(</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:64%;color:black;
mso-color-index:1'><b>了解</b></span><span lang=EN-US style='font-size:64%;
color:black;mso-color-index:1;mso-fareast-language:ZH-CN'><b>)</b></span></div>
</div>
<v:rect id="_x0000_s146436" href="javascript:parent.GoToPrevSld()" style='position:absolute;
left:503pt;top:495pt;width:53pt;height:30pt;mso-wrap-style:none;
v-text-anchor:middle' filled="f" fillcolor="#dfd6c3 [4]" stroked="f"
strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="previousSlide"/></v:rect><v:rect id="_x0000_s146437"
href="javascript:parent.GoToNextSld()" style='position:absolute;left:574pt;
top:496pt;width:53pt;height:30pt;mso-wrap-style:none;v-text-anchor:middle'
filled="f" fillcolor="#dfd6c3 [4]" stroked="f" strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="nextSlide"/></v:rect><v:rect id="_x0000_s146438"
href="javascript:parent.GoToFirst()" style='position:absolute;left:646pt;
top:496pt;width:53pt;height:30pt;mso-wrap-style:none;v-text-anchor:middle'
filled="f" fillcolor="#dfd6c3 [4]" stroked="f" strokecolor="black [1]">
<v:fill color2="white [0]" o:detectmouseclick="t"/>
<v:shadow color="gray [2]"/>
<p:onmouseclick jump="firstSlide"/></v:rect><![if !vml]><map name="map_s6"><area
href="javascript:parent.GoToFirst()" onclick="window.event.cancelBubble=true;"
shape=rect coords="106, 0, 145, 23"><area
href="javascript:parent.GoToNextSld()"
onclick="window.event.cancelBubble=true;" shape=rect
coords="53, 0, 92, 23"><area href="javascript:parent.GoToPrevSld()"
onclick="window.event.cancelBubble=true;" shape=rect
coords="0, 0, 39, 22"></map><![endif]><![if !vml]><img border=0
v:shapes="_x0000_s146436,_x0000_s146437,_x0000_s146438"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -