登录
首页 » 其他项目 » C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许...

C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许...

于 2022-03-11 发布 文件大小:1.33 kB
0 187
下载积分: 2 下载次数: 1

代码说明:

C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许多场合下,您无法预先确定缓冲区所需的实际大小,这对于构造复杂的 C 程序来说,可能会导致几个根本性的问题。一种自我管理的抽象数据缓冲区概括地给出了抽象缓冲区的伪 C 代码实现,并详细介绍了采用这种机制的优点。-C programming language defines two standard memory management functions: malloc () and free (). C programmers frequently use those functions at run-time allocation of buffers in order to pass data between functions. However, in many occasions, you can not pre-determine the actual size of the buffer required, which for the complex structure of the C program, it may lead to several fundamental questions. A self-management, abstract data buffer generally gives the pseudo-C code for an abstract buffer implementation, and details the advantages of using this mechanism.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • sourse code of kmp algorithm
    poj 上的几道kmp 题的解题报告 sourse code of kmp algorithm -sourse code of kmp algorithm
    2022-05-17 02:18:57下载
    积分:1
  • 雷霆战机源码
    雷霆战机源码 -Thunderbolt warplanes source
    2022-05-27 03:46:15下载
    积分:1
  • java固定
    Java固定资管理系统,jre1.4带数据库和文档-Java fixed-owned assets management system, jre1.4 with databases and document
    2023-03-24 20:05:04下载
    积分:1
  • Hamming 神经网络从功能上来看是最小Hamming 距离分类器.利用它能够完成不完整输入信息与所存储模式的最小汉明距离分类.    Hamming 网...
    Hamming 神经网络从功能上来看是最小Hamming 距离分类器.利用它能够完成不完整输入信息与所存储模式的最小汉明距离分类.    Hamming 网络是一个双层神经网络,第一层网(即匹配子网络)是用来计算输入模式与该网络已经学习过的各样本之间的匹配测度.第二层网(即竞争子网络)接收从匹配子网络送来的未知模式与已存各样本的匹配测度,然后经过多次迭代运算就可以求得与输入模式相匹配的样本.-Hamming neural network from the functional point of view is the smallest Hamming distance classifier. Use it to complete incomplete input information storage model with the smallest Hamming distance classifier. Hamming network is a double neural network, the first network layer (ie matching sub-network) is used to calculate the input model and the network has been studied by the match between the sample test degrees. The second layer network (that is, competitive-network) from the receiver-matching network sent an unknown model has been deposited with the samples matching measure, Then after many iterative computation can be obtained with the input mode matching sample.
    2023-07-07 13:35:03下载
    积分:1
  • 这teechart.ocx Visual Basic。
    This TeeChart.ocx for Visual Basic.
    2022-08-12 20:09:59下载
    积分:1
  • 有关控制领域PID算法,实现简单的界面编程有待进一步完善
    有关控制领域PID算法,实现简单的界面编程有待进一步完善-PID algorithm for the control of the area to achieve a simple interface for programming to be further improved
    2022-02-15 21:44:44下载
    积分:1
  • The JILRunOnly project is a simple command
    The JILRunOnly project is a simple command-line application written in ANSI-C that is intended to demonstrate in detail, how the JILRuntime/JewelScript library can be embedded into an application.
    2022-01-25 23:34:52下载
    积分:1
  • 用vrml编写,建立的一个比较精细的蜘蛛模型
    用vrml编写,建立的一个比较精细的蜘蛛模型-Vrml by the development, set up a more sophisticated model of the spider
    2022-09-25 11:55:03下载
    积分:1
  • 程序运行时间的类(c++),经过编译了,可以直接使用
    程序运行时间的类(c++),经过编译了,可以直接使用-the category (c), after the compiler can be used directly!
    2022-02-20 12:35:22下载
    积分:1
  • 这是使用PHP编程的虚拟社区MySQL的简易版
    这是使用PHP编程的虚拟社区MySQL的简易版-This is the use of PHP Programming Virtual Community simple version of MySQL
    2022-04-18 11:48:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载