代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/149322/12387048
cs queue.cs
using System;
namespace DataTypeDemo
{
///
/// Queue 的摘要说明。
///
public class Queue : linkList
{
private node qhead;
private node rear;
public Queue()
{
www.eeworm.com/read/337096/12391571
h queue.h
// queue.h -- interface for a queue
#ifndef QUEUE_H_
#define QUEUE_H_
// This queue will contain Customer items
class Customer
{
private:
long arrive; // arrival time for customer
www.eeworm.com/read/337096/12391583
cpp queue.cpp
// queue.cpp -- Queue and Customer methods
#include "queue.h"
#include // (or stdlib.h) for rand()
// Queue methods
Queue::Queue(int qs) : qsize(qs)
{
front = rear = NULL
www.eeworm.com/read/250662/12393203
h queue.h
/*
** Interface for a queue module
*/
#include
#define QUEUE_TYPE int /* Type of value in the queue */
/*
** create_queue
** Creates a queue. The argument indicates the maximu
www.eeworm.com/read/250662/12393206
c a_queue.c
/*
** A queue implemented with a static array. The array size can
** be adjusted only by changing the #define and recompiling
** the module.
*/
#include "queue.h"
#include
#include
www.eeworm.com/read/250397/12409088
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