登录
首页 » Unix_Linux » 2

2

于 2016-11-05 发布 文件大小:5KB
0 187
下载积分: 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 个回复

  • DAC0832
    基于51单片机的dac0832设计,含proteus仿真,用keilC编译的,代码详细,含有注释,望点个赞,谢谢,头文件全,方便移植。(Dac0832 51 microcontroller-based design, with proteus simulation, using keilC compiled code in detail, contains notes, looking like a point, thank you, header files full, easy to transplant.)
    2014-07-23 18:08:02下载
    积分:1
  • CM5_NASA_nakata
    This is my ECG signals data.
    2013-06-28 17:06:15下载
    积分:1
  • TDS220
    泰克TDS220示波器使用指导书 ,使用起来很方便,其他示波器使用方法类似(Tektronix TDS220 oscilloscopes use instructions, easy to use, similar to other oscilloscopes use)
    2015-09-14 22:39:13下载
    积分:1
  • RN8209C及D初始化及UART通讯参考程序
    RN8209C及D初始化及UART通讯参考程序(RN8209C and D initialization and UART communication reference program)
    2018-08-29 09:08:34下载
    积分:1
  • STM32_trace_l298
    这段代码包括了基于STM32对简单小车的循迹壁障以及L298N的驱动。并对其中关键部分进行了注释。(This code includes a simple car-based STM32 tracking barrier and L298N driver. And one of the key parts of the notes.)
    2014-02-26 12:18:03下载
    积分:1
  • cbarra
    codigo de barras melhorado
    2015-09-20 04:27:59下载
    积分:1
  • MVBP550
    Using LPC2114 asm back panel
    2015-12-08 14:28:58下载
    积分:1
  • main
    c codevision code for reading a 4x4 keypad and showind the number on a 7segment
    2009-09-11 15:47:31下载
    积分:1
  • TM1639
    TM1639驱动程序 可以驱动8*8位数码管 并具有按键扫描功能(TM1639 driver can drive 8* 8-bit digital tube and has a key scan function)
    2021-01-02 13:58:57下载
    积分:1
  • shiboq
    示波器的程序内涵 程序 文本 模拟 仿真的 (Program connotation oscilloscope simulation program text of)
    2016-04-13 09:37:56下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载