代码搜索:construct
找到约 6,584 项符合「construct」的源代码
代码结果 6,584
www.eeworm.com/read/358682/10182075
h stonewt1.h
// stonewt1.h -- revised definition for the Stonewt class
#ifndef STONEWT1_H_
#define STONEWT1_H_
class Stonewt
{
private:
enum {Lbs_per_stn = 14}; // pounds per stone
int stone;
www.eeworm.com/read/356298/10232255
c tree.c
#include
#include
struct tree
{
char info;
struct tree *left;
struct tree *right;
};
struct tree *root; /*树的第一个结点*/
struct tree *construct(struct tree *root, stru
www.eeworm.com/read/356276/10232569
c tree.c
#include
#include
struct tree
{
char info;
struct tree *left;
struct tree *right;
};
struct tree *root; /*树的第一个结点*/
struct tree *construct(struct tree *root, stru
www.eeworm.com/read/281000/10273679
cpp fig01_08.cpp
#include "IntCell.h"
/**
* Construct the IntCell with initialValue
*/
IntCell::IntCell( int initialValue ) : storedValue( initialValue )
{
}
/**
* Return the stored value.
*/
int Int
www.eeworm.com/read/281000/10274130
cpp figaa_02.cpp
#include "MemoryCell.h"
/**
* Construct the MemoryCell with initialValue.
*/
template
MemoryCell::MemoryCell( const Object & initialValue )
: storedValue( initial
www.eeworm.com/read/162314/10315376
cpp main.cpp
#include "Builder.h"
#include "Product.h"
#include "Director.h"
#include
using namespace std;
int main(int argc,char* argv[])
{
Director* d = new Director(new ConcreteBuilder()
www.eeworm.com/read/162078/10340249
cpp list1.cpp
#ifdef __BCPLUSPLUS__
#include
#else
#include
#endif
#include
#include
using namespace std;
typedef list LISTSTR;
// Try each of the four c
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/353439/10446890
java c7.java
// reusing/Ex7/C7.java
// TIJ4 Chapter Reusing, Exercise 7, page 246
/* Modify Exercise 5 so that A and B have constructors with arguments instead
* of default constructors. Write a constructor for