代码搜索:construct
找到约 6,584 项符合「construct」的源代码
代码结果 6,584
www.eeworm.com/read/275048/10837790
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/274170/10886485
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/270963/11017887
cpp 10-04-02.cpp
#include
using namespace std;
class Int {
public:
Int(int x) : val(x) {}
int get() { return val; }
private:
int val;
};
int main()
{
Int A[] = { Int(1), Int(2), Int(3) };
destr
www.eeworm.com/read/470800/6908531
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/470800/6908819
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/468329/6996555
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/461011/7235854
cc rsvp-objects.cc
/*
* Copyright (c) 1998 The University of Bonn
* All rights reserved.
*
* Permission to use and copy this software in source and binary forms
* is hereby granted, provided that the above copyrig
www.eeworm.com/read/458682/7291687
sh arith-tests.sh
#!/bin/bash
# Arithmetic tests.
# The (( ... )) construct evaluates and tests numerical expressions.
# Exit status opposite from [ ... ] construct!
(( 0 ))
echo "Exit status of \"(( 0 ))\" is $?."
www.eeworm.com/read/456533/7345733
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/456533/7346038
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;