代码搜索:shape
找到约 10,000 项符合「shape」的源代码
代码结果 10,000
www.eeworm.com/read/191729/5163267
java shape.java
// Page 101
abstract class Shape {
abstract double area();
}
class Circle extends Shape {
final double radius;
Circle(double radius) { this.radius = radius; }
double area(
www.eeworm.com/read/191404/5166108
java shape.java
package net.sourceforge.ganttproject.shape;
/**
**@author Etienne L'kenfack (etienne.lkenfack@itcogita.com)
*/
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
impo
www.eeworm.com/read/190666/5181163
java shape.java
/* Shape.java -- Interface for shape abstractions.
Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redist
www.eeworm.com/read/185070/5241895
cs shape.cs
using System;
using System.Drawing ;
namespace CsharpPats
{
///
/// Summary description for Shape.
///
public abstract class Shape {
protected int height, width;
www.eeworm.com/read/183581/5254247
java shape.java
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class shape extends Applet {
int polyx[]={10,30,50,50,30,10};
int polyy[]={30,50,30,60,55,70};
public void init(){
www.eeworm.com/read/183479/5256088
frm shape.frm
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
Caption = "Form1"
ClientHeight = 6435
ClientLeft = 60
ClientTop = 450
ClientWidth
www.eeworm.com/read/183479/5256089
vbp shape.vbp
Type=Exe
Form=shape.frm
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\System32\stdole2.tlb#OLE Automation
Startup="Form1"
Command32=""
Name="工程1"
HelpContextID="0"
Compat
www.eeworm.com/read/180222/5288284
h shape.h
//: C16:Shape.h
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
#ifndef SHAPE_H
#define SHAPE_H
#incl
www.eeworm.com/read/179693/5302460
c shape.c
/* Discriminated union */
#include "math.h"
typedef enum {RECTANGLE, CIRCLE} shapeType_t;
typedef struct {
double length;
double width;
} rectangleDimensions_t;
typedef struct {