代码搜索:三维数组
找到约 10,000 项符合「三维数组」的源代码
代码结果 10,000
www.eeworm.com/read/111988/15496990
h stack.h
/* 堆栈
*
*/
#ifndef STACK_CLASS
#define STACK_CLASS
#include "dclinkedlist.h"
template
class Stack
{
private:
// 私有数据成员,栈数组
DCLinkedList stacklist;
public:
// 构造函数,
www.eeworm.com/read/109118/15563345
bas imagefunc.bas
Attribute VB_Name = "ImageFunc"
Const ChunkSize As Long = 100
Const BlockSize As Long = 100
Const TempFile As String = "tempfile.tmp"
Dim byteData() As Byte '定义数据块数组
Dim DiskFile As String '图像文
www.eeworm.com/read/191798/8422162
cpp btree2.cpp
//二叉树类的实现btree2.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BinaryTree::CreateBTree(char *a)
{BTreeNode *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
root=NULL;
www.eeworm.com/read/191798/8422198
cpp btree.cpp
//二叉树类的实现btree.cpp
//根据字符数组a的二叉树广义表建立对应的二叉树存储结构
template
void BTree::CreateBTree(char *a)
{BTree *s[80];//s数组作为存储二叉树中根结点指针的栈
int top=-1; //top作为s栈的栈顶指针
left=NULL; //先
www.eeworm.com/read/389326/8533368
m 2fsk.m
%随机产生一个包含十个元素的数组,该数组中的元素非0即1,用作FSK信号的输入数据。
clear all;
x=randn(10,1)>0;
fl=5000;fh=8000;fs=100000;
ts=1/200;%码元速率200波特
tt=(0:1/fs:ts);
t=[tt;tt+ts;tt+2*ts;tt+3*ts;tt+4*ts;tt+5*t
www.eeworm.com/read/289577/8542484
c bo2-32.c
/* bo2-32.c 一个数组可生成若干静态链表(数据结构由c2-3.h定义)的基本操作(12个) */
void InitSpace(SLinkList L) /* 算法2.14。另加 */
{ /* 将一维数组L中各分量链成一个备用链表,L[0].cur为头指针。“0”表示空指针 */
int i;
for(i=0;i
www.eeworm.com/read/287904/8662553
c bo2-32.c
/* bo2-32.c 一个数组可生成若干静态链表(数据结构由c2-3.h定义)的基本操作(12个) */
void InitSpace(SLinkList L) /* 算法2.14。另加 */
{ /* 将一维数组L中各分量链成一个备用链表,L[0].cur为头指针。“0”表示空指针 */
int i;
for(i=0;i
www.eeworm.com/read/431296/8690570
c 5.18.c
5.18⑤ 试设计一个算法,将数组A中的元素
A[0..n-1]循环右移k位,并要求只用一个元素
大小的附加存储,元素移动或交换次数为O(n)。
要求实现以下函数:
void Rotate(Array1D &a, int n, int k);
一维数组类型Array1D的定义:
typedef ElemType Array1D[MAXLEN];
void Rotate(Ar