您现在的位置: 精品资料网 >> 行业分类 >> 电力行业 >> 资料信息

File_Processing(英文版)(ppt 44页)

所属分类:
电力行业
文件大小:
742 KB
下载地址:
相关资料:
pro,ce,sin,英文版
File_Processing(英文版)(ppt 44页)内容简介

File_Processing(英文版)目录:
1、Data and Data Files
2、Files and Streams
3、Sequential Access Files
4、Random Access Files


File_Processing(英文版)内容提要:
     Data Files can be created, updated, and processed by C programs used for permanent storage(持久存储) of large amounts of dataStorage of data in variables and arrays is only temporary(临时的)
All such data are lost when the program terminates
     Record – group of related fieldsRepresented by a struct (or a class in C++)Example: In a payroll system, a record for a particular employee that contained his/her identification number (possible record key), name, address, etc.
     A Stream is created when a file is openedProvide communication channel(通信渠道) between files and programsOpening a file returns a pointer to a FILE structure
Example file pointers:
stdin - standard input (keyboard)
stdout - standard output (screen)
stderr - standard error (screen)

 

 


..............................