slide0091.htm
来自「可作为课程设计或者毕业设计 也可以作为学校精品课程网站使用」· HTM 代码 · 共 358 行 · 第 1/2 页
HTM
358 行
<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>
<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_s165890_171_251","_x0000_s165890_161_171","_x0000_s165890_102_161","_x0000_s165890_92_102","_x0000_s165890_27_92","_x0000_s165890_17_27","_x0000_s165890_0_17");
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]>
</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_s165890" type="#_x0000_m192520"
style='position:absolute;left:42pt;top:30pt;width:654pt;height:438pt;
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="1" delay="0"
type="text" level="1" effect="fly" direction="left" flag="17408"/></v:shape>
<div v:shape="_x0000_s165890" class=B>
<div id="_x0000_s165890_0_17" style='mso-line-spacing:"130 0 0";position:absolute;
top:8.25%;left:6.92%;width:88.95%;height:6.0%;white-space:nowrap'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:88%'><b><span style='mso-tab-count:1;width:4.21%'> </span></b></span><span
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:88%;mso-fareast-language:
ZH-CN'><b>3</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:88%'><b>.与读文件操作有关的几个函数</b></span><span style='font-family:"Arial Unicode MS";
mso-fareast-font-family:"Arial Unicode MS";font-size:88%;display:none'><b> </b></span></div>
<div id="_x0000_s165890_17_27" style='text-align:justify;mso-line-spacing:
"130 0 0";position:absolute;top:16.0%;left:6.92%;width:21.16%;height:5.25%'><nobr><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>(</b></span><span
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:
ZH-CN'><b>1</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%;color:red'><b>)</b></span><span lang=EN-US style='font-family:
"Times New Roman";mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:
"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>Lof </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>函数</b></span><span
style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
font-size:75%;color:red;display:none'><b> </b></span></nobr></div>
<div id="_x0000_s165890_27_92" style='text-align:justify;mso-line-spacing:
"130 0 0";position:absolute;top:22.75%;left:6.92%;width:88.95%;height:19.0%'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%'><b><span
style='mso-spacerun:yes'>
</span>LOF</b></span><span style='font-family:宋体;mso-fareast-font-family:宋体;
font-size:75%'><b>函数将返回某文件的字节数。例如,</b></span><span lang=EN-US
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;mso-fareast-language:
ZH-CN'><b>LOF(1)</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%'><b>返回</b></span><span lang=EN-US style='font-family:"Times New Roman";
mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:"Arial Unicode MS";
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
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;mso-fareast-language:
ZH-CN'><b>0</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%'><b>值,则表示该文件是一个空文件。</b></span><span style='font-family:"Arial Unicode MS";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;display:none'><b> </b></span></div>
<div id="_x0000_s165890_92_102" style='text-align:justify;mso-line-spacing:
"130 0 0";position:absolute;top:43.75%;left:6.92%;width:21.34%;height:5.25%'><nobr><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>(</b></span><span
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:
ZH-CN'><b>2</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%;color:red'><b>)</b></span><span lang=EN-US style='font-family:
"Times New Roman";mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:
"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>Loc </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>函数</b></span><span
style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
font-size:75%;color:red;display:none'><b> </b></span></nobr></div>
<div id="_x0000_s165890_102_161" style='text-align:justify;mso-line-spacing:
"130 0 0";position:absolute;top:50.5%;left:6.92%;width:88.95%;height:12.0%'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%'><b><span
style='mso-spacerun:yes'>
</span>Loc</b></span><span style='font-family:宋体;mso-fareast-font-family:宋体;
font-size:75%'><b>函数将返回在一个打开文件中读写的记录号;对于二进制文件,它将返回最近读写的一个字节的位置。</b></span><span
style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
font-size:75%;display:none'><b> </b></span></div>
<div id="_x0000_s165890_161_171" style='text-align:justify;mso-line-spacing:
"130 0 0";position:absolute;top:64.5%;left:6.92%;width:21.16%;height:5.25%'><nobr><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>(</b></span><span
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:
ZH-CN'><b>3</b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%;color:red'><b>)</b></span><span lang=EN-US style='font-family:
"Times New Roman";mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:
"Arial Unicode MS";font-size:75%;color:red;mso-fareast-language:ZH-CN'><b>Eof </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%;color:red'><b>函数</b></span><span
style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
font-size:75%;color:red;display:none'><b> </b></span></nobr></div>
<div id="_x0000_s165890_171_251" style='mso-line-spacing:"130 0 0";position:
absolute;top:71.25%;left:6.92%;width:105.61%;height:19.0%;white-space:nowrap'><span
style='position:absolute;top:0%;left:0%;width:100.0%;height:27.63%'><span
style='mso-special-format:nobullet;display:none'>•</span><span
style='font-size:75%'><b><span
style='mso-spacerun:yes'>
</span>Eof </b></span><span style='font-family:宋体;mso-fareast-font-family:
宋体;font-size:75%'><b>函数将返回一个表示文件指针是否到达文件末尾的</b></span></span><span
style='position:absolute;top:36.84%;left:3.54%;width:95.39%;height:27.63%'><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>标志。如果到了文件末尾,</b></span><span
lang=EN-US style='font-size:75%;mso-fareast-language:ZH-CN'><b>Eof </b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>函数返回</b></span><span
lang=EN-US style='font-size:75%;mso-fareast-language:ZH-CN'><b>TRUE(-1)</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>,否则</b></span></span><span
style='position:absolute;top:73.68%;left:3.54%;width:80.67%;height:27.63%'><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>返回</b></span><span
lang=EN-US style='font-size:75%;mso-fareast-language:ZH-CN'><b>FALSE(0)</b></span><span
style='font-family:宋体;mso-fareast-font-family:宋体;font-size:75%'><b>。</b></span><span
style='font-size:75%'><b> </b></span></span></div>
</div>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?