代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/279940/10375514
cpp queue.cpp
/*****************************************************************************
Copyright (c) 2001 - 2007, The Board of Trustees of the University of Illinois.
All rights reserved.
Redistribution and
www.eeworm.com/read/425160/10377072
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/425160/10377251
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/354083/10391366
cs queue.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace JLL.SGIP
{
public class QueueItem
www.eeworm.com/read/161587/10394053
h queue.h
// file queue.h
// formual based queue
#ifndef Queue_
#define Queue_
#include
#include
#include "xcept.h"
template
class Queue {
// FIFO objects
pub
www.eeworm.com/read/161587/10394303
cpp queue.cpp
// test formula based queue class
#include
#include "queue.h"
void main(void)
{
Queue Q(3);
int x;
try {Q.Add(1).Add(2).Add(3).Add(4);
cout
www.eeworm.com/read/161587/10394598
out queue.out
A queue add failed
Queue is now 123
Deleted 1
2 is at front
3 is at end
Deleted 2
Deleted 3
A delete has failed
www.eeworm.com/read/279612/10410496
h queue.h
#ifndef QUEUE_H
#define QUEUE_H
typedef enum {
UDEF = 0,
FIFO,
LIFO,
INCR, // INCREASE
DECR // DECREASE
} QRULE;
class ELEMENT {
friend class QUEUE;
public:
ELEMENT()
www.eeworm.com/read/424600/10437033