代码搜索:rectangle

找到约 10,000 项符合「rectangle」的源代码

代码结果 10,000
www.eeworm.com/read/348208/11605724

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/345930/11781622

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/259467/11788036

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/156115/11826499

java jlab0401_3.java

class JLab0401_3{ public static void main(String[] args){ Rectangle myRect=new Rectangle(2.5,8.7); double theArea; theArea=myRect.area(); System.out
www.eeworm.com/read/156115/11826590

java jlab0401.java

class JLab0401{ public static void main(String[] args){ Rectangle myRect=new Rectangle(2.5,8.7); double theArea; theArea=myRect.area(); System.out.
www.eeworm.com/read/156115/11826609

java jlab0401_4.java

class JLab0401_4{ public static void main(String[] args){ Rectangle rect=new Rectangle(); rect.setwidth(3.6); rect.setlength(10.8); System.out.print
www.eeworm.com/read/155903/11839092

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/155568/11863193

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,'\p
www.eeworm.com/read/342591/12010318

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/151555/12201693

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,'\p