登录
首页 » Unix_Linux » 2

2

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

  • xhdkz
    汽车信号灯控制系统的设计 汽车上的信号灯有:转向灯(左前灯、右前灯、左后灯、右后灯,仪表盘上的二 个指 示灯 )及夜间示 宽灯等 。 当汽车转 弯 、刺 车 停 靠时 ,转 向灯 发出不同 的信号 ;夜问 .则 点 亮示宽 灯。汽 车转弯或停 靠时 ,相应的 信号灯要 发出 闪烁 的灯光 信号 , 目前 国内广泛 缱 用 电热 式闪光 器产生 闪光信 号 。(Auto Light Control System lights on the car include: turn signal (front left light, right front lamp, left rear lamp, right rear lights, two lights on the instrument panel) and night lights, wide display. When the car turn, stop puncture car, the turn signal send mixed signals nighttime. The width light is lit. Car turns or stops, the corresponding signal to a flashing light signal, the current domestic-type electric flash wide loving generated by the flash signal.)
    2010-11-14 03:44:21下载
    积分:1
  • 12864display
    多级菜单通过1284显示!并由矩阵键盘控制(Multi-level menu through 1284 show! By Matrix keyboard control)
    2013-11-01 11:06:30下载
    积分:1
  • 111
    说明:  用数码管显示电压,发送到串口,然后有高低电压报警,只有部分代码(Display voltage with digital tube, send it to serial port, then alarm with high and low voltage, only part of the code)
    2020-06-22 14:40:01下载
    积分:1
  • PAR-Light_LCE030(MA803)
    基于C51的PAR灯控制程序,内含原理图与MA803技术手册,功能有模拟PWM线性调光,炫耀的自走程序,主从控制,IIC协议,DMX512协议,74HC595控制四位共阴数码管(Based on C51 PAR lamp control procedures, including schematic diagram and MA803 technical manuals, features analog PWM linear dimming, showing off the program, master-slave control, IIC protocols, DMX512 agreement, 74 hc595 are needed to control the four digital tube Yin)
    2016-12-29 15:21:52下载
    积分:1
  • key01
    MSP430按键程序,用于检测按键的触发跳出睡眠模式(MSP430 key procedures for the detection of the trigger out of sleep mode button)
    2011-05-20 13:12:25下载
    积分:1
  • CMT2300A_Demo
    说明:  CMT2300A芯片收发测程序,基于KEIL以及STM32F103芯片(CMT2300A chip transceiver and test program, based on KEIL and STM32F103 chip)
    2020-06-23 17:20:02下载
    积分:1
  • DC_motor_ppt
    DC motor position control
    2016-05-26 19:34:06下载
    积分:1
  • single-chipcode
    单片机密码锁 硬件加程序,无密码压缩,课程设计(Single-chip code lock)
    2009-06-18 08:55:22下载
    积分:1
  • 单片机驱动3310 LCD显示屏
    说明:  单片机驱动3310 lcd显示屏的c程序,单片机与屏的线路连接可以参见程序中的宏定义。程序写得很精简,但是很好用。(Microprocessor 3310 LCD display c procedures, SCM and the screen can see the line connecting the procedures macro definition. Very streamlined procedures, but is useful.)
    2005-12-16 14:00:00下载
    积分:1
  • 51asmExample
    51单片机开发入门与典型实例书籍源码,示例源程序注释清晰易懂,是51单片机开发入门非常好的实例程序(51 asm example program)
    2009-05-04 22:25:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载