登录
首页 » Unix_Linux » 2

2

于 2016-11-05 发布 文件大小:5KB
0 205
下载积分: 1 下载次数: 0

代码说明:

说明:  编写带缓存的文件操作类 从执行体程序库中的CLLogger类可知,通过缓存要写入文件中的数据,能够提高读写磁盘的性能 请编写一个文件操作的封装类,其要求如下: 需要提供open/read/write/lseek/close等函数的封装函数 该类要提供数据缓存服务。 调用该类的写操作接口时,数据要首先写到缓存,然后再根据策略写到文件中。 调用该类的读操作接口时,该类能根据策略缓存读出的数据 读写缓存要保持一致性 (From the implementation of the CLLogger class library, we can know, through the cache to write data in the file, you can improve the performance of the read and write disk Please write a package for the operation of the class, and its requirements are as follows: The encapsulation function of open/read/write/lseek/close and other functions is required. The class to provide data cache services. When the write operation interface of the class is called, the data must first be written to the cache, and then the policy is written to the file. When a read operation interface of the class is called, the class can read the data according to the policy cache. Read/write cache to maintain consistency)

文件列表:

CLFileRW.cpp,7267,2016-10-02
CLFileRW.h,1119,2016-10-02
CLFileRWTester.cpp,645,2016-10-02
CLStatus.cpp,516,2016-09-21
CLStatus.h,419,2016-09-21
CLThread.cpp,544,2016-10-02
CLThread.h,323,2016-10-02
CLThreadRW.cpp,851,2016-10-02
CLThreadRW.h,489,2016-10-02

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • LCD-temperature-display
    DS18B20 检测温度,LCD1602液晶显示。(DS18B20 testing temperature, LCD1602 liquid crystal display.)
    2014-03-21 15:43:30下载
    积分:1
  • danpianjixiaogongjv
    单片机开发电子工程师必备小工具 ga 超级串口助手 定时器计算时间。。。(dan pian ji kai fa bi bei xiao gongjv)
    2013-08-10 14:43:18下载
    积分:1
  • IcCard
    基于VC++6.0应用MSCOMM控件的串口通信上位机程序,实现与51单片机的通信(Based on VC++ 6.0 Application MSCOMM control PC serial communication procedures, with 51 single-chip communication)
    2008-08-11 10:46:37下载
    积分:1
  • ADC1
    有关AVR的单片机adc的源代码,阐述详尽,便于使用(ADC OF AVR )
    2013-06-05 21:45:39下载
    积分:1
  • USB声卡实验
    STM32系列单片机USB声卡实验,希望为广大初学者带来帮助。(STM32 series of MCU USB sound card experiment, hope for the majority of beginners to help.)
    2021-03-24 22:39:14下载
    积分:1
  • ppl
    说明:  锁相电路是相位锁定环(Phase Locked Loop)的简称,主要由鉴相器、环路滤波、压控振荡器成 。主要是要掌握LabVIEW图形化编程特点,(PLL circuit is phase-locked loop (Phase Locked Loop) for short, mainly by the phase detector, loop filter, VCO into. Mainly to grasp the features of LabVIEW graphical programming,)
    2010-05-04 13:40:39下载
    积分:1
  • mcu_pc
    基于8051单片机的串口通信c语言程序,实现单片机也pc机的串口通信。(8051 serial communication based on c language program, also pc machine SCM Serial communication.)
    2010-11-27 20:16:19下载
    积分:1
  • 相关数据手册和参考文献
    说明:  MFRC522射频读卡器数据手册 IC-S50数据手册 包含相关性能简介(MFRC522 Radio Frequency Card Reader Data Manual IC-S50 Data Manual Contains a Brief Introduction to Related Performance)
    2020-06-21 04:00:02下载
    积分:1
  • NB-iot SDK包移植文档
    m5310接入移动物联onenet的NB-iot SDK源码,帮助用户更容易接入onenet(M5310 access to the NB-iot SDK source of the mobile onenet, helping users to access onenet more easily)
    2017-12-25 21:09:41下载
    积分:1
  • CYH
    汇编编写的8086的程序,做的是汽车测速报警系统,带有自动控速功能(Compilation of the 8086 procedures, the car speed alarm system, with automatic control speed function)
    2015-06-11 19:02:15下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载