代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/184552/9094606
java packagedemo.java
//PackageDemo.java
package mypackage;
import shape.*;
public class PackageDemo{
public static void main(String []args){
rectangle rect=new rectangle(50,100,20,10);
circle cir=new circle(
www.eeworm.com/read/167116/9980511
m goldrect.m
%GOLDRECT Golden Rectangle
% GOLDRECT plots the golden rectangle
phi = (1+sqrt(5))/2;
x = [0 phi phi 0 0];
y = [0 0 1 1 0];
u = [1 1];
v = [0 1];
plot(x,y,'b',u,v,'b--')
text(phi/2,1.05,'\phi')
tex
www.eeworm.com/read/360311/10103413
cpp xt12-4.cpp
#include
using namespace std;
//定义抽象基类Shape
class Shape
{public:
virtual double area() const =0; //纯虚函数
};
//定义Circle类
class Circle:public Shape
{public:
Circle(doub
www.eeworm.com/read/163505/10156636
cpa cc2430db_1_3.cpa
(CADSTARPCB
(HEADER
(FORMAT LAYOUT 2 9)
(JOBFILE "M:\\libs\\templates\\Defaults.pcb")
(JOBTITLE "16 Layer Defaults")
(GENERATOR "PCB to CPA, Version 7.0.0.16")
(RESOLUTION
(METR
www.eeworm.com/read/358577/10184518
ashx handler.ashx
using System;
using System.Web;
using System.Drawing;
using System.Drawing.Imaging;
using System.Web.SessionState;
public class Handler : IHt
www.eeworm.com/read/275376/10821713
cpp 7_2.cpp
//7_2.cpp
#include
#include
#include "rectangle.h"
using namespace std;
int main()
{
Rectangle rect; //声明Rectangle类的对象
rect.InitR(2,3,20,10); //设置矩形的数据
rect.Move(3,2); //移
www.eeworm.com/read/275376/10821716
cpp 7_1.cpp
//7_1.cpp
#include
#include
#include "rectangle.h"
using namespace std;
int main()
{
Rectangle rect; //声明Rectangle类的对象
rect.InitR(2,3,20,10); //设置矩形的数据
rect.Move(3,2); //移
www.eeworm.com/read/274718/10857131
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/274718/10857279
cpp 6_50.cpp
#include
using namespace std;
class Rectangle
{ int width, height;
public:
Rectangle() //需要一个无参数的构造函数
{ width = height = 0;
cout
www.eeworm.com/read/273409/10917087
cpp xt12-4.cpp
#include
using namespace std;
//定义抽象基类Shape
class Shape
{public:
virtual double area() const =0; //纯虚函数
};
//定义Circle类
class Circle:public Shape
{public:
Circle(doub