搜索结果
找到约 122 项符合
struct 的查询结果
按分类筛选
- 全部分类
- Java编程 (21)
- 其他 (14)
- 源码 (10)
- 技术资料 (9)
- 数据结构 (8)
- 软件设计/软件工程 (5)
- 单片机编程 (3)
- 操作系统开发 (3)
- 书籍源码 (3)
- Linux/Unix编程 (3)
- Java书籍 (3)
- Jsp/Servlet (3)
- 习题答案 (2)
- Linux/uClinux/Unix编程 (2)
- 技术书籍 (2)
- 压缩解压 (2)
- 企业管理 (2)
- 数学计算 (2)
- 汇编语言 (2)
- 单片机开发 (2)
- 软件 (1)
- 书籍 (1)
- C/C++语言编程 (1)
- 数据库系统 (1)
- 其他书籍 (1)
- 电子书籍 (1)
- 驱动编程 (1)
- 教育系统应用 (1)
- 游戏 (1)
- 编译器/解释器 (1)
- *行业应用 (1)
- 文件格式 (1)
- 人工智能/神经网络 (1)
- 文章/文档 (1)
- matlab例程 (1)
- 其他行业 (1)
- 系统设计方案 (1)
- JavaScript (1)
- VC书籍 (1)
- SQL Server (1)
- VIP专区 (1)
数据结构 2.[问题描述] 编写递归算法
2.[问题描述]
编写递归算法,在二叉树中求位于先序序列中第K个位置的结点
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置
[输出]
若二叉树不空,按先序序列输出,求出所求位置的结点
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结 ...
软件设计/软件工程 This GUI is an updated and enhanced version of the “StructBrowser” utility submitted to MatLab Centr
This GUI is an updated and enhanced version of the “StructBrowser” utility submitted to MatLab Central in May 2003. It comes with new interface and an enhanced display. It uses Microsoft TreeView control to display and explore any kind of MatLab structures. The CRC ExploreStruct was designed to ex ...
*行业应用 client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> i
client socket
include <sys/types.h>
include <sys/socket.h>
include <stdio.h>
include <netinet/in.h>
include <arpa/inet.h>
include <unistd.h>
int main()
{
int sockfd
int len
struct sockaddr_in address
int result
char ch = A
sockfd = socket(AF_INET, SOCK_STREAM, 0)
address.sin_fami ...
数据结构 [问题描述] 在二叉排序树中查找关键字为KEY的记录 [输入] 有序表输入要查找元素的关键字 [输出] 查找成功是即可显示查找成功 #include <stdlib.h> #
[问题描述]
在二叉排序树中查找关键字为KEY的记录
[输入]
有序表输入要查找元素的关键字
[输出]
查找成功是即可显示查找成功
#include <stdlib.h>
#include <stdio.h>
typedef int KeyType
typedef struct{
数据库系统 综合2叉树及B+树优点的能根据增删改而分裂或合并的完整程序(现在以8bit(BYTE key)为关键字,可扩充到64bit的double为key,用户数据包现在以float ton表示,可扩充到任意结
综合2叉树及B+树优点的能根据增删改而分裂或合并的完整程序(现在以8bit(BYTE key)为关键字,可扩充到64bit的double为key,用户数据包现在以float ton表示,可扩充到任意结构struct)
数学计算 这是用于线性方程组求解的ILUK预处理算法的实现。在VC++编译通过。矩阵采用压缩稀疏行格式存储(CSR)
这是用于线性方程组求解的ILUK预处理算法的实现。在VC++编译通过。矩阵采用压缩稀疏行格式存储(CSR),采用如下结构存储:struct Distmatrix {double **ma int **ja,dimension,*nnzrow } 很容易移植到自己定义数值计算软件包中。经本人测试计算效率比Fortran写的高很多(比如与Sparskit2比较)。 ...
游戏 五子棋小游戏#include<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h
五子棋小游戏#include<stdlib.h>
#include<time.h>
#include<stdio.h>
#include<conio.h>
int chess[169]={0} /*棋盘*/
struct chess_t/*作为辅助,即是作为建意*/
{
char attack /*攻防用的,0表示守,1表示攻*/
int j /*作为优先级用*/
}chess_a[169] ...
操作系统开发 我所采用的内存管理思想是链表管理思想
我所采用的内存管理思想是链表管理思想,内存分配方案是最佳适应方案(best fit)。其主要的数据结构为
struct node
{
char* p
int memosize
int flag
struct node* next
}
这是一个链表的结点的数据结构,用它来管理内存的分配与回收。P 表示所指的分配的内存的首地址,memosize 表示分配的内存块的大小,flag 为 ...
技术资料 温度控制的PID算法的C语言程序.
#nclude<reg51.h>#include<intrins.h>#销nclude<math.h>#include<string.h>struct PID{unsigned int SetPoint;//设定目标 Desired Value unsigned int Proportion;//比例常数Proportional Const unsigned int integral;//积分常数Integral Const unsigned int Derivative://微分常数Derivative Const unsigned int LastE ...
其他 //顺序表的建立、查找、插入与删除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #
//顺序表的建立、查找、插入与删除
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#define ListSize 100 //表最大长度
//结构定义
typedef struct SeqList
{
int node[ListSize] //存放表结点
int length //当前表长度
} SeqList
//插入元素
insertList(SeqList *list, int e)
{
int i=list->length-1 ...