代码搜索:rectangle
找到约 10,000 项符合「rectangle」的源代码
代码结果 10,000
www.eeworm.com/read/307698/13717067
dsp rectangle.dsp
# Microsoft Developer Studio Project File - Name="rectangle" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86)
www.eeworm.com/read/307698/13717068
plg rectangle.plg
Build Log
--------------------Configuration: rectangle - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADM
www.eeworm.com/read/307698/13717069
ncb rectangle.ncb
www.eeworm.com/read/307698/13717070
dsw rectangle.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/307698/13717071
opt rectangle.opt
www.eeworm.com/read/307698/13717072
cpp rectangle.cpp
//1.设计并测试一个名为Rectangle的矩形类,其属性为矩形的左下角
//与右上角两个点的坐标,能计算矩形的面积。
#include
using namespace std;
class Rectangle
{
public:
Rectangle(float x1,float x2,float y1,float y2); //带参构造函数
www.eeworm.com/read/302865/13826060
ncb rectangle.ncb
www.eeworm.com/read/302865/13826061
cpp rectangle.cpp
#include
#include "Rectangle.h"
Rectangle::Rectangle()
{
X=Y=W=H=0;
}
void Rectangle::Move(int x,int y)
{
X=x;
Y=y;
}
void Rectangle::Size(int w,int h)
{
W=w;
H=h;
}
www.eeworm.com/read/302865/13826062
opt rectangle.opt
www.eeworm.com/read/302865/13826063
dsp rectangle.dsp
# Microsoft Developer Studio Project File - Name="Rectangle" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86)