搜索资源列表
exam060
- C语言实现随机存取数据,借助于fseek()函数可以设置文件的位置,再使用C的I/O系统便可以完成随机读写操作-C language random access data by means fseek () function can set the location of the file, using C, I/O system can complete random read and write operations
Read-and-write-operations-to-files
- 在本地建立一个txt文档,该程序用于对该文件实行读写操作,对理解读写互斥、写写互斥很有帮助。-Setting up a txt document locally, the procedures used for the implementation of read and write operations.
write-and-reader-priority
- (1)任意多的读进程可以同时读这个文件; (2)一次只允许一个写进程往文件中写; (3)如果一个写进程正在往文件中写,禁止任何读进程或写进程访问文件; (4)写进程执行写操作前,应让已有的写者或读者全部退出。这说明当有读者在读文件时不允许写者写文件。-(A) any number of reading processes can simultaneously read the file (2) allows only one process to write the file to