代码搜索:queue
找到约 10,000 项符合「queue」的源代码
代码结果 10,000
www.eeworm.com/read/165536/10058438
mak dirserv.mak
#
# Makefile for DIRSERV.EXE
#
# Compiler : Microsoft C 6.0
# Created : 19.8.1992
# Copyright (c) : Martti Ylikoski, 1992
#
# Notes: The llibcep.lib is the default library in
www.eeworm.com/read/165536/10058471
mak dirs.mak
#
# Makefile for DIRS.EXE
#
# Compiler : Microsoft C 6.0
# Created : 19.8.1992
# Copyright (c) : Martti Ylikoski, 1992
#
# Notes: The llibcep.lib is the default library in my
www.eeworm.com/read/360810/10077193
h ewrk3.h
/*
Written 1994 by David C. Davies.
Copyright 1994 Digital Equipment Corporation.
This software may be used and distributed according to the terms of the
GNU Public License, incorpo
www.eeworm.com/read/164393/10111260
h lqueue.h
// header file lqueue.h
// linked queue
#ifndef LinkedQueue_
#define LinkedQueue_
//These statements makes the code of LinkedQueue included and complied only one time
#include "node.h"
#includ
www.eeworm.com/read/164393/10111261
cpp lqueue.cpp
// test linked queue class
#include
#include "lqueue.h"
void main(void)
{
LinkedQueue Q;
int x;
try {Q.Add(1).Add(2).Add(3).Add(4);
cout
www.eeworm.com/read/164050/10133630
m exm08943_2.m
%exm08943_2.m
clc,echo on
AA=' 继承性 '; %“生成字符串”指令
ST=stack(AA) %“堆栈对象的创建”指令
class(ST) %“类别检查”指令
isa(ST,'stack') %“检查是否堆栈”指令
isa(ST,'queue') %“检查是否队列”指令
%由于设计中采用了继承性,所以"是堆栈,
www.eeworm.com/read/164050/10133935
m comein.m
function q=comein(p,varargin)
% @QUEUE\COMEIN a variable comes to the end of a queue.
% 调用格式
% comein(p,a,b,...) 使输入宗量a,b等排在p之后形成新队列,
% 其名沿用p位置上的输入队列名.
% q=comein(p,a,b,...) 使输入宗量a,
www.eeworm.com/read/164050/10134031
m stack.m
function ST=stack(v)
% 调用格式
% ST=stack 创建一个"空"堆栈对象.
% ST=stack(v) 创建包含变量v的堆栈对象。
if nargin>1;error('Too many arguments.');end;
if nargin==0 % 没有输入宗量情况
Q=queue;
s.value=[];
www.eeworm.com/read/164050/10134149
m exm0892_2.m
%exm0892_2.m
clear,clc,echo on
%(1)创建一个队列对象,并显示。
qe='Hello! 你好 !'; %“生成字符串”指令
Q=queue(qe) %“生成队列对象Q,并显示”指令
pause,%按任意键,继续。
%(2)类别检查和是否对象判断
class(Q) %“类别检查”指令
isobject