-
单链表的插入和删除实验目的:
1、定义单链表的结点类型
2、通过单链表的定义掌握线性表的链式存储结构的特点;
3、熟悉单链表的建立以及插入、删...
单链表的插入和删除实验目的:
1、定义单链表的结点类型
2、通过单链表的定义掌握线性表的链式存储结构的特点;
3、熟悉单链表的建立以及插入、删除等基本操作。
-# include
# include
# define ND sizeof(struct List)
struct List
{int data
struct List*next
}
void main()
{ int n,i=1,e,a
struct List*head
struct List*p,*q
q=head=p=(struct List*)malloc(ND)
- 2022-04-15 10:12:17下载
- 积分:1
-
通过一个dll创建工程和一个dll使用工程来进行非MFC DLL的创建和使用方法...
通过一个dll创建工程和一个dll使用工程来进行非MFC DLL的创建和使用方法-introduce the way to create and use a dll through the 1 project and dlltest project in the rar file
- 2022-02-06 08:55:00下载
- 积分: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
-
论坛 Script(php)
这是一个 php 的论坛。成员登录和有开机自检和评论的线程的能力。它是在附近的最好论坛脚本。演示 < a href ="www.naijaloaded.com"> < /a > 这里
- 2022-02-01 19:24:02下载
- 积分:1
-
C++ MOPSO 代码
本人新研究的一个MOPSO(多目标粒子群算法),用于各种优化计算,C++编译,非常好用,
何选择带领者呢?
MOPSO在存档中选择一个粒子跟随。如何选择呢?根据网格划分,假设每个网格中粒子数个,i代表第几个网格。该网格中的粒子被选择的概率为,即粒子越拥挤,则选择的概率越低。这是为了保证能够对未知的区域进行探索。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-21 10:21:19下载
- 积分:1
-
串口控件程序(可以用到VC++,VB,DELPHI开发)
串口控件程序(可以用到VC++,VB,DELPHI开发)-serial control procedures (which can be used in VC, VB, Delphi development)
- 2023-01-13 23:55:03下载
- 积分:1
-
一款实时、多人、分布的坦克大战的游戏,可允许四个人参加;使用了多种高级编程技术,如DirectPlay,DirectSound,多线程,动画处理,消息打包和解包...
一款实时、多人、分布的坦克大战的游戏,可允许四个人参加;使用了多种高级编程技术,如DirectPlay,DirectSound,多线程,动画处理,消息打包和解包,定时,地图传输,图像管理,键盘管理等等,是一个不可多得的学习高级windows编程的材料啊!-A real-time, more than the distribution of Tankedaizhan game that allows four people take part in the use of a variety of high-level programming techniques, such as DirectPlay, DirectSound, multi-threading, animation processing, packaging news reconciliation package, timing, map transmission , image management, keyboard management, etc., is a rare high-level windows programming learning material ah!
- 2022-01-28 19:39:24下载
- 积分:1
-
我们java课的一个小作业,画图时耗费了不少脑细胞呢:)
我们java课的一个小作业,画图时耗费了不少脑细胞呢:)-a small operation, the class that costs a lot of brain cells? :)
- 2022-03-16 09:26:37下载
- 积分:1
-
本源程序提供在AWGN信道下的bpsk调制方式的仿真,并与理论曲线作比较,得到了理想的结果...
本源程序提供在AWGN信道下的bpsk调制方式的仿真,并与理论曲线作比较,得到了理想的结果-This source provides bpsk under the AWGN channel modulation of the simulation, and compared with the theoretical curve obtained satisfactory results
- 2022-09-30 04:15:03下载
- 积分:1
-
利用有限数据估计其互信息,对学习信息论的很有帮助
利用有限数据估计其互信息,对学习信息论的很有帮助-Use of the limited data to estimate the mutual information, helpful for learning Information Theory
- 2022-05-23 04:26:59下载
- 积分:1