-
LINK
建立链表的算法:
新节点链入表尾建立链表:
动态分配第一个节点变量;
用指针head 妥善保存链表第一个节点的地址值;
依次动态分配一个新节点变量;
将上一个节点的指针域指向新生成的节点;
循环3),4)步骤,直到所有节点均连入链表;
将最后一个节点的指针域赋值为0;
(Establish the list of algorithms:
The new node links footer build list:
Dynamic allocation of the first node variable
Keep the list head pointer of the first node address value
In order to dynamically allocate a new node variable
The domain of a node pointer to the new generation of nodes
Cycle 3), 4) step, until all nodes are connected to the chain
Pointer field will last node assigned to 0 )
- 2015-01-05 16:03:48下载
- 积分:1
-
动态数组模板类的C++实现
动态数组模板类的C++实现#ifndef ARRAY_CLASS#define ARRAY_CLASS#include #include using namespace std;#ifndef NULLconst int NULL = 0;#endif//错误类型集合, 共三种,数组大小错误,内存分配错误和下标越界enum ErrorType {invalidArraySize, memoryAllocationError, indexOutOfRange};//错误信息char *errorMsg[] = {"Invalid array size", "Memery allocation error", "Index out of range"};//数组类模板声明templateclass Array{ public: Array(int sz = 50); Array(const Array &A); ~Array(void); Array& operator = (const Array &rhs); //重载=,使数组对象可以整体赋值 T& operator[](int n);
- 2022-01-28 05:28:35下载
- 积分:1
-
ArduCopterNG_2.7
Crius AIOP 开源飞控源码,此代码现在网上已经找不到了!
- 2022-03-13 18:01:59下载
- 积分:1
-
dianziqin
基于C51的电子琴设计,有一个现成的音乐,支持14个不同的音调(C51-based design of the organ, there is a ready-made music, support the 14 different pitch)
- 2009-04-20 17:04:15下载
- 积分:1
-
crc
在远距离数据通信中,为了确保数据传输正确,必须才CRC算法,本代码就是CRC算法(In the long-range data communications, in order to ensure that data is correct, must be only CRC algorithms, the code is the CRC algorithm)
- 2009-07-21 10:05:33下载
- 积分:1
-
pulse-measurement
这是基于STC89C52编程开发的脉搏检测器,里面包含PCB原理图,程序代码和一篇参考论文。(This is based programming development STC89C52 pulse detector, which contains PCB schematics, program code and a reference papers.)
- 2013-12-13 20:40:50下载
- 积分:1
-
STL 标准模板库源代码
“框架”这个词,本身就有庞大、稳定、完整而可扩展的涵义。软体框架,则是用一行行精细准确的源码,构造一个庞大、稳定、完整而可扩展的软体架构,稍有软体发展经验的人都知道,要做到这些,谈何容易! STL在1994年走入C++标准,使得原本即将推出的C++标准延迟4年问世而无怨无悔,并为之对内容做巨幅改进,而今STL不仅为千千万万C++程式师所日常运用,而且获得极高的学术赞誉,成为了一个典范,一种境界。作为一个软体框架,STL所取得的成功,实在可以用“辉煌”来形容,其所内涵的软体思想和技术经验,更是无比的深厚与精致。
- 2022-03-26 05:43:15下载
- 积分:1
-
Graphic
二维绘图,包括直线,矩形,圆,多边形等绘制(Two-dimensional graphics, including lines, rectangles, circles, polygons drawn)
- 2012-07-25 11:40:58下载
- 积分:1
-
STM32控制超声波
用STM32F10X,液晶屏显示出超声波测出的距离,简单,你们可以做一些修改,让它利用到,15151465145+41541561465
- 2022-04-15 07:56:40下载
- 积分:1
-
RX5电动尾门模块心跳数据stm32F1
用STM32模拟RX5电动尾门模块CAN心跳数据,解决电动尾门报错问题。
- 2023-05-09 09:20:03下载
- 积分:1