代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/396170/8120734
cpp main7.cpp
// Section 16.7
// $ CC main7.cpp
/*
< 0 3 6 9 >
< 2 4 6 8 10 >
*/
#include "Queue.h"
#include "Queue.cpp"
using std::cout;
#include
using std::vector;
int main()
{
www.eeworm.com/read/295886/8135277
h fullbinarytree.h
#ifndef FULLBINARYTREE
#define FULLBINARTTREE
#include
#include
#include"BinaryTree.h"
template class FullBinaryTree :public BinaryTree
{
public:
Ful
www.eeworm.com/read/247327/12665533
h logqueue.h
/*********************************************************************************************
**********************************************************************************************
****
**
www.eeworm.com/read/146126/12668270
h linkedqueue.h
// linked implementation of a queue
// derives from the ADT queue
#ifndef linkedQueue_
#define linkedQueue_
#include "queue.h"
#include "chainNode.h"
#include "myExceptions.h"
#include
www.eeworm.com/read/146126/12668305
dep railroadwithqueues.dep
# Microsoft Developer Studio Generated Dependency File, included by railroadWithQueues.mak
.\railroadWithQueues.cpp : \
".\arrayQueue.h"\
".\myExceptions.h"\
".\queue.h"\
www.eeworm.com/read/146126/12668932
h arrayqueue.h
// circular array implementation of a queue
// derives from the ADT queue
#ifndef arrayQueue_
#define arrayQueue_
#include "queue.h"
#include "myExceptions.h"
#include
using nam
www.eeworm.com/read/333491/12678437
txt 2.txt
6.49④ 编写算法判别给定二叉树是否为完全二叉树。
要求实现下列函数:
Status CompleteBiTree(BiTree bt);
/* judge if the binary tree whose root is bt */
/* is a complete tree. */
二叉链表类型定义:
typedef struc
www.eeworm.com/read/333491/12678445
txt 3.txt
6.46③ 编写复制一棵二叉树的非递归算法。
要求实现下列函数:
void CopyBiTree(BiTree T, BiTree &TT);
/* 基于层次遍历的非递归复制二叉链表 */
二叉链表类型定义:
typedef char TElemType; // 设二叉树的元素为char类型
typedef struct BiTNode {
TElemType
www.eeworm.com/read/333491/12678448
txt 1.txt
6.47④ 编写按层次顺序(同一层自左至右)遍历二叉树的算法。
要求实现下列函数:
void LevelOrder(BiTree bt, char *ss);
/* travel BiTree bt by level, Return result by ss. */
二叉链表类型定义:
typedef char TElemType; // 设二叉树的元素为char类型
ty
www.eeworm.com/read/333254/12693275
cpp nested.cpp
// nested.cpp -- using a queue that has a nested class
#include
#include
#include "queuetp.h"
int main()
{
using std::string;
using std::cin;
using std::cou