代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/259580/11780749
h arraystack.h
// array implementation of a stack
// derives from the ADT stack
#ifndef arrayStack_
#define arrayStack_
#include "stack.h"
#include "myExceptions.h"
#include "changeLength1D.h"
#include
www.eeworm.com/read/259580/11780816
cpp recursivebtloading1.cpp
// first recursive backtracking code to load containers onto 2 ships
// code finds weight of max loading for first ship only
#include
using namespace std;
// global variables
int
www.eeworm.com/read/259580/11781160
cpp recursivebtloading2.cpp
// refined recursive backtracking code for container loading
// onto two ships
// code finds weight of max loading for first ship only
#include
using namespace std;
// global v
www.eeworm.com/read/259580/11781275
cpp iterativebtloading.cpp
// iterative code for container loading by backtracking
#include
#include
using namespace std;
int maxLoading(int *weight, int numberOfContainers, int capacity,
www.eeworm.com/read/258367/11867625
dpr sample5.dpr
{$APPTYPE CONSOLE}
program sample5;
uses Windows,PCSCClasses,SysUtils,VASBase;
var
a,b,c:TBuffer;
begin
writeln('Buffer use sample',#10);
a:=TBuffer.Create;
b:=TBuffer.Create;
c:=TBuffer
www.eeworm.com/read/254636/12125802
h genstack.h
//********************* genStack.h *************************
// generic class for vector implementation of stack
#ifndef STACK
#define STACK
#include
template
www.eeworm.com/read/254578/12129352
java stringbufferdemo.java
package book.ch6;
/**
* User: hb
* Date: Jan 5, 2004
* Time: 5:27:56 AM
*/
public class StringBufferDemo {
public static void main(String[] args) {
StringBuffer buffer = new StringBuf
www.eeworm.com/read/253260/12234420
cpp str2.cpp
// str2.cpp -- capacity() and reserve()
#include
#include
int main()
{
using namespace std;
string empty;
string small = "bit";
string larger = "Elephants a
www.eeworm.com/read/253260/12235233
cpp str2.cpp
// str2.cpp -- capacity() and reserve()
#include
#include
int main()
{
using namespace std;
string empty;
string small = "bit";
string larger = "Elephants a