登录
首页 » Unix_Linux » 2

2

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

  • bianshi
    舵机扫频辩识,鲁棒控制器,加载系统流量阀,双阀扫频(The sweep frequency identification, robust controller, loading system flow valve, double valve sweep )
    2013-12-26 15:41:38下载
    积分:1
  • xdcc
    蓄电池的充放电控制,能够有效的进行控制,高效稳定(Battery charge and discharge control)
    2014-01-02 16:36:00下载
    积分:1
  • 21__ISSN_1392-1215_Control-of-Asymmetrical-Multil
    Control of Asymmetrical Multilevel Inverter Using Artificial Neural Network
    2013-10-07 03:16:32下载
    积分:1
  • PN512-Reader-Writer
    pn512 芯片读卡器能支持TYPEA,TYPEB,NTAG(PN512 reader/writer supports for typea,typeb and ntag)
    2015-08-25 11:07:25下载
    积分:1
  • S6d0118
    用8051单片机来驱动的2.0吋TFT屏(S6D0118的IC)(use 8051 to drive the 2.0-inch TFT screen (S6D0118 IC))
    2006-10-05 18:57:48下载
    积分:1
  • frequency
    一个很好的STM32F103驱动液晶屏12864进行波形显示程序,波形2KHZ测试正常(A good LCD screen 12864 STM32F103 drive waveform display program, the tests are normal waveform 2KHZ)
    2013-08-01 16:40:15下载
    积分:1
  • include
    说明:  在msp430的基于pcf8536时钟芯片中的时钟设计利用c语言在iar软件编程通过(In the MSP430-based pcf8536 clock chip s clock design using c language in iar programming through)
    2008-12-03 11:14:49下载
    积分:1
  • RC500
    51单片机考勤系统下位机程序,可以配合上位机软件实现考勤功能,将hex文件下载到51单片机即可使用(51 MCU control procedures can be achieved with the PC software attendance function, the hex file into the microcontroller 51 can be used)
    2013-11-07 21:16:47下载
    积分:1
  • 74HC164
    74164串行口转并行口芯片驱动模块,使用EMC系列单片机(74164 serial port to parallel port chip driver module, using EMC Series MCU)
    2012-09-27 01:45:58下载
    积分:1
  • ps32
    PS32自动气象站的嵌入式代码,stm32主控,包裹GPRS模块M33G和AD7792,ublox电子罗盘,GPS等驱动。C代码(PS32 AWS embedded code, stm32 master, wrapped GPRS module M33G and AD7792, ublox electronic compass, GPS and other drivers. C code)
    2014-01-23 14:52:13下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载