代码搜索:constructing
找到约 784 项符合「constructing」的源代码
代码结果 784
www.eeworm.com/read/335542/12516994
cpp cleanup.cpp
//: C01:Cleanup.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the file '
www.eeworm.com/read/248954/12530691
cpp 6_49.cpp
#include
using namespace std;
class Rectangle
{ int width, height;
public:
Rectangle(int w, int h)
{ width = w; height = h;
cout
www.eeworm.com/read/248954/12530837
cpp 6_50.cpp
#include
using namespace std;
class Rectangle
{ int width, height;
public:
Rectangle() //需要一个无参数的构造函数
{ width = height = 0;
cout
www.eeworm.com/read/146506/12641469
cpp xt11-8.cpp
#include
using namespace std;
class A
{
public:
A(){cout
www.eeworm.com/read/238106/13906175
cpp 12_1.cpp
//12_1
#include
class MyClass{
public:
MyClass();
MyClass(int);
~MyClass();
void Display();
protected:
int number;
};
MyClass::MyClass(){ cout
www.eeworm.com/read/238106/13906455
cpp ch14_1.cpp
//**********************
//** ch14_1.cpp **
//**********************
#include
#include
class Student{
public:
Student(char* pName="no name",int ssId=0)
{
www.eeworm.com/read/238106/13906456
cpp ch14_4.cpp
//**********************
//** ch14_4.cpp **
//**********************
#include
#include
class Person{
public:
Person(char* pN);
Person(Person& p);
~Pers
www.eeworm.com/read/238106/13906458
cpp ch14_3.cpp
//**********************
//** ch14_3.cpp **
//**********************
#include
#include
class Person{
public:
Person(char* pN)
{
cout
www.eeworm.com/read/238106/13906460
cpp ch14_2.cpp
//**********************
//** ch14_2.cpp **
//**********************
#include
#include
class Student{
public:
Student(char* pName="no name")
{
cout
www.eeworm.com/read/238106/13906716
cpp ch12_2.cpp
//**********************
//** ch12_2.cpp **
//**********************
#include
class Student{
public:
Student()
{
cout