# Yahoo奇摩 網頁搜尋

1. ### write c program

...都已經寫出來了,祇差I/O而已 2006-10-18 17:23:21 補充： 因為是 rectangle 所以只要輸入兩邊, 輸四邊萬一四邊都不同那就不是 rectangle int GetArea...

2. ### 請問這個要我們寫什麼( c ++)

...一個擁有length(長), width(寬), height(高)的 Rectangle _Solid類別, 這三個屬性預設值皆...private: float _length, _width, _height; }; Rectangle _Solid:: Rectangle _...

3. ### C ＋＋考題急晚上要考

class Rectangle { 　public: 　　 Rectangle () { length= width= 1.0; } // length & width 預設為...

4. ### C ++ 對話盒繪圖畫不出來

...of destination upper-left corner int nDestWidth, // width of destination rectangle int nDestHeight, // height of destination rectangle int XSrc...

5. ### C 語言程式 誰可以救我 @@

#include <iostream> class Rectangle { public: Rectangle () : length(1),width(1) { } void set(int a_nL...

6. ### C ++ 函數 overload 改 函數 template

... c ) { double s; s=(a+b+ c )/2.0; return((T)(sqrt(s*(s-a)*(s-b)*(s- c )))); }#define circle CIRCLE::area #define rectangle RECTANGLE ::area #define triangle area #define AREA TRIANGLEint...

7. ### Dev- C ++寫程式問題

...iostream>#include<stdlib.h>using namespace std;void circle();void rectangle ();void triangle();int main(){ int select; cout<<"...

8. ### C ++ 程式有問題

...namespace std; int main() { int bottom, hight, longer, wide, hb, lb, input, triangle, rectangle , trapezoid; cout << "請輸入1.三角形 或 2...

9. ### 物件導向JAVA撰寫程式問題??

... Rectangle (0,0,5,-5); Rectangle b = new Rectangle (-1,1,3,-4); Rectangle c = new Rectangle (a); // copy constructor (deep copy) c .display(" c : "...

10. ### 急~~~ C ++程式設計藝術(想了很久，不知道怎麼作答)

class Rectangle { public: Rectangle () { length = width = 1.0; } bool...namespace std;int main(){double w, l;cin >> w;cin >> l; Rectangle r;r.setLength(5.0);r.setWidth(4.0...