代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/140545/13076834
h nobloat.h
//: C05:Nobloat.h
// Shares code for storing pointers in a Stack
#ifndef NOBLOAT_H
#define NOBLOAT_H
#include
#include
#include
// The primary template
template
www.eeworm.com/read/140545/13076856
cpp temptemp.cpp
//: C05:TempTemp.cpp
// Illustrates a template template parameter
#include
#include
using namespace std;
template
class Array { // A simple, expandable sequence
www.eeworm.com/read/140120/13108139
cpp ex10_12a.cpp
/* Code for exercise 10.12.
|
| "C++ Solutions--Companion to The C++ Programming Language, Third Edition"
| by David Vandevoorde; Addison-Wesley 1998; ISBN 0-201-30965-3.
|
| Permission to
www.eeworm.com/read/321444/13404812
c ide-disk.c
/*
* linux/drivers/ide/ide-disk.c Version 1.18 Mar 05, 2003
*
* Copyright (C) 1994-1998 Linus Torvalds & authors (see below)
* Copyright (C) 1998-2002 Linux ATA Development
* Andre Hedric
www.eeworm.com/read/140673/5784605
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/140673/5784607
h queue.h
#ifndef QUEUE_H__
#define QUEUE_H__
#include "Vector.h"
template
class Queue {
private:
Vector vec_;
public:
/* 将元素e放入队列
*/
void push(const T&e) {
vec_.push
www.eeworm.com/read/140673/5784615
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/140673/5784627
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa
www.eeworm.com/read/140673/5784656
h stack.h
#ifndef STACK_H__
#define STACK_H__
#include "Vector.h"
template
class Stack {
private:
Vector vec_;
public:
/* 将元素e压栈
*/
void push(const T&e) {
vec_.pushBa