登录
首页 » Unix_Linux » 2

2

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

  • weideng
    汽车尾灯控制器,这是我第一次上在,没什么经验,以后努力(car taillight controller, this is my first time in, no experience, after efforts)
    2006-12-06 09:27:17下载
    积分:1
  • diaoyanbaogao_5
    区域中央空调市场调研报告,市场调研报告模板(Regional central air-conditioning market research report, market research report template)
    2013-12-06 17:35:35下载
    积分:1
  • practice1
    说明:  工程教育中级练习题1:按一下K1键,LED以10Hz频率闪烁,屏幕上画出红圈,跟着闪,放开后保持该频率闪烁;长按K1键超过3秒,LED以5Hz频率闪烁,屏幕上画出红圈,跟着闪,放开后保持该频率闪烁;按一下K2键,LED熄灭;按一下K2键,LED常亮。(Secondary Exercise Question 1 in Engineering Education: Press the K1 key, the LED flickers at 10Hz frequency, draw a red circle on the screen, follow the flash, and keep the frequency flickering after release; Press the K1 key for more than 3 seconds, the LED flickers at 5Hz frequency, draw a red circle on the screen, follow the flash, and keep the frequency flickering after release; Press the K2 key, the LED goes out; Press the K2 key, the LED always shines.)
    2019-05-15 23:01:13下载
    积分:1
  • LED-S1234
    基于STC89C52单片机实现中断LED数码管显示及处理的程序,适合初学值使用(Based STC89C52 MCU interrupt LED digital display and processing procedures, suitable for beginners to use the value)
    2013-11-19 11:42:46下载
    积分:1
  • i.MX_6Dual6Quad_Linux_Reference_Manual
    Freescale imx6 CPU reference manual
    2020-06-29 00:40:02下载
    积分:1
  • gongsirenliziyuanyouhua
    it is very good ,it can solve many problems
    2008-07-16 08:56:08下载
    积分:1
  • reshiqi
    该源程序是合泰46R47单片机做的热水器源程序。(The source code is Hetai 46R47 Singlechip source water heaters do.)
    2008-04-22 14:33:12下载
    积分:1
  • PWM
    按键控制PWM占空比,利用按键控制PWM的占空比调节直流电机转速,LED显示(Key control PWM duty ratio)
    2018-05-11 22:00:06下载
    积分:1
  • danpianjiLCDshuzhiceshiyi
    项目16 基于单片机LCD数字测速仪的设计 使用C++程序编程(Item 16 LCD digital speedometer on chip design using C++ programming)
    2011-06-29 08:58:27下载
    积分:1
  • RC522-SPI
    RC522 SPI接口的51单片机程序例程(RC522 SPI)
    2014-02-13 01:17:27下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载