-
C 程序设计语言定义了两个标准的内存管理函数:malloc() 和 free()。C 程序员经常使用那些函数在运行时分配缓冲区,以便在函数之间传递数据。然而在许...
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.
- 2022-03-11 11:19:26下载
- 积分:1
-
n阶魔方阵,就是把1
n阶魔方阵,就是把1-n2个连续的正整数填到一个m*n的方阵中,使得每一列的和,每一行的和,以及两个对角线的和都相等。本程序只填奇数阶的魔方阵-n-order magic square, that is, the 1-n2 consecutive filled to a positive integer m* n square in which each column and each row and, as well as two diagonal and are equal. This procedure只填odd order magic squares
- 2022-07-14 18:11:03下载
- 积分:1
-
输入一个词或仅输入所有内容
模糊查询,你只输入要查询内容的一个字或输入全部内容-Enter a word or only the importation of all contents
- 2022-03-15 19:11:46下载
- 积分:1
-
在vc环境下,基于arcobject开发源码2
在vc环境下,基于arcobject开发源码2-in vc environment, based on the two-source development arcobject
- 2022-03-20 06:12:04下载
- 积分:1
-
我有忘了这是什么资源了,通过吧!我真的很需要资源!
我有忘了这是什么资源了,通过吧!我真的很需要资源!-I have forgotten what it is a resource that! I really need resources!
- 2022-09-16 10:40:04下载
- 积分:1
-
分布式缓存源码
分布式缓存源码-包含memcached存储方案-Distributed Cache Demo
- 2022-04-17 13:41:26下载
- 积分:1
-
source code about game mobile
source code about game mobile
- 2022-06-28 05:24:13下载
- 积分:1
-
Android硬件检测软件相关源代码
从网上发现的一个Android硬件检测软件相关源代码,同时包括文件管理和应用管理,检测包括1、检测系统信息,查看设备系统版本,运营商及其系统信息. 2、硬件信息查看包括CPU,硬盘,内存等硬件信息,文件管理可管理手机上的文件,应用管理可删除应用之类的。
- 2022-09-05 21:10:03下载
- 积分:1
-
ds.asm
ds.asm-- ----- --- -倒计时器源程序-ds.asm-------------- countdown device source
- 2023-05-08 15:25:03下载
- 积分:1
-
三角高计算,中间站法,可以批量计算,三角高,界面友好
三角高计算,中间站法,可以批量计算,三角高,界面友好-Triangle high calculation method between stations, you can bulk calculation, triangular high-friendly interface
- 2022-02-09 20:06:45下载
- 积分:1