代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/217636/14956590
cs rectangle.cs
using System;
class Rectangle
{
private int iHeight;
private int iWidth;
// 缺省构造函数
public Rectangle()
{
Height=0;
Width=0;
}
// 构造函数重载
public Rectangle(int w
www.eeworm.com/read/217636/14956593
exe rectangle.exe
www.eeworm.com/read/115977/14994106
gif rectangle.gif
www.eeworm.com/read/215702/15052551
h rectangle.h
//rectangle.h
class Point //基类声明
{
public:
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X;}
float GetY() {return
www.eeworm.com/read/215702/15052557
h rectangle.h
//Rectangle.h
class Point //基类Point类的声明
{
public: //公有函数成员
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X;}
floa
www.eeworm.com/read/215306/15065675
gif rectangle.gif
www.eeworm.com/read/213087/15142765
java rectangle.java
// Rectangle.java: The Rectangle class that extends GeometricObject
public class Rectangle extends GeometricObject
{
protected double width;
protected double height;
// Default constructo
www.eeworm.com/read/211015/15188793
h rectangle.h
//Begin of Rectangle.h
class Point //基类声明
{
public:
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X;}
float GetY(
www.eeworm.com/read/211015/15188795
h rectangle.h
//Begin of Rectangle.h
class Point //基类Point类的定义
{
public: //公有函数成员
void InitP(float xx=0, float yy=0) {X=xx;Y=yy;}
void Move(float xOff, float yOff) {X+=xOff;Y+=yOff;}
float GetX() {return X
www.eeworm.com/read/209853/15212445
cpp rectangle.cpp
//: C09:Rectangle.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Accessors & mutators
class