登录
首页 » Unix_Linux » 2

2

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

  • tongbujianPtiaobian
    这是一个为数不多的用C语言编写的PIC12C508的RGB灯的小型控制器,交流同步信号检测,七彩跳变+七彩渐变,做LED的朋友可以参考,程序可以直接使用的;(This is a small controller RGB lights a few written by C PIC12C508, AC synchronous signal detection, colorful jump+ colorful gradient, do LED friends can reference, the program can be used directly )
    2013-09-09 16:24:18下载
    积分:1
  • Architecture-dun-ruseau-radio-mobile-GSM
    GSM Basics : Global System for Mobile Communications s a digital mobile telephony system that is widely used in Europe and other parts of the world.
    2016-02-04 21:12:26下载
    积分:1
  • BH1750
    基于89C51的光照模块程序,用的器件是BH1750。比较有用(89C51-based lighting module program, with the device is BH1750. More useful)
    2020-10-01 14:57:41下载
    积分:1
  • bai7
    my solution for some dynamic algothrimth
    2014-12-04 21:38:45下载
    积分:1
  • STM32_AHRS_WorkDir
    实现MPU-925X陀螺仪的9轴数据融合进行互补滤波(Realize the MPU - 925 - x 9 axis of gyroscope data fusion of complementary filter)
    2020-11-16 23:09:39下载
    积分:1
  • ad7730_atmega8_V1
    Atmega8+AD7730 source code. Do not forget to set chip select and DataRdy pin settings. This is not copied from internet. It works. COOL:)
    2010-06-13 01:52:09下载
    积分:1
  • PID温控1602显示
    说明:  STC 51单片机的PID温度控制程序, 包含DS18B20测量温度 LCD1602显示(STC 51 MCU PID temperature control program, including DS18B20 temperature measurement and LCD1602 display)
    2020-06-16 08:20:01下载
    积分:1
  • motorcontrol
    本代码是基于检测遥控飞机手柄输出的PWM信号频率,转换为角度信息,再作为步进电机移动输入量,最终实现使用遥控飞机手柄摇杆精确控制步进电机转动角度的目的,包含PWM频率检测模块和步进电机驱动模块等。(This code is PWM frequency signal detection based on the output of the remote control aircraft converted to handle, angle information, and then as the stepper motor movement input, and ultimately use the remote control aircraft joystick handle precise control of stepper motor rotation angle, including PWM frequency detection module and stepper motor drive module.)
    2017-07-31 22:08:20下载
    积分:1
  • reshiqi
    该源程序是合泰46R47单片机做的热水器源程序。(The source code is Hetai 46R47 Singlechip source water heaters do.)
    2008-04-22 14:33:12下载
    积分:1
  • emWin
    energy emwin驱动程序,可驱动彩屏及相关LCD控制器(energy emwin)
    2013-04-22 18:21:35下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载