代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/145285/6350538
c queue.c
#include
#define Max 100
void SetNull(front, rear)
int *front, *rear;
{
*front = 0;
*rear = 0;
}
int Empty(front,rear)
int *front, *rear;
{
if(*front == *rear)
return(1)
www.eeworm.com/read/494272/6380988
h queue.h
www.eeworm.com/read/492274/6420550
hpp queue.hpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/492000/6429626
h queue.h
#include
using std::cin;
using std::cout;
using std::endl;
//template
//struct Element
//{
// Type key; //关键字
//};
template
www.eeworm.com/read/492012/6429788
class queue.class
www.eeworm.com/read/491143/6440972
h queue.h
//Queue.h
#include
#include
using namespace std;
template
class Queue
{
public:
//构造函数:产生一个空队列
Queue():m_front(0),m_rear(0){}
//入队函数:将指
www.eeworm.com/read/489590/6466090
h queue.h
#ifndef _DATAQUEUE_H_
#define _DATAQUEUE_H_
#pragma once
//
// CDataQueue Class Declarations
//
#define PBYTE unsigned char *
#define BYTE unsigned char
class CDataQueue
{
PBYTE
www.eeworm.com/read/489590/6466172
cpp queue.cpp
#include "stdafx.h"
#include "Queue.h"
//
// CDataQueue Class
//
//
// Constructor
//
CDataQueue::CDataQueue(DWORD dwSize, BOOL *phr)
: mpBuf(NULL)
, mSize(0)
, mHead(-1)
www.eeworm.com/read/488496/6488360
h queue.h
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/488496/6488394
h queue.h
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that