請問這種類型應該要如何宣告才正確 |
缺席
|
l90425
初階會員 發表:95 回覆:152 積分:49 註冊:2008-04-03 發送簡訊給我 |
請問一種類型應該如何宣告在 Unit1.h 檔案裡呢?
double _fastcall TForm1::determine(vector 或是 double determine(vector 或是要怎麼修改才對請請多多指導! 謝謝!謝謝! Unit1.h [code cpp] class TForm1 : public TForm { __published: // IDE-managed Components TBitBtn *BitBtn1; TEdit *Edit1; TLabel *Label1; TButton *Button1; TEdit *Edit2; TButton *Button2; void __fastcall BitBtn1Click(TObject *Sender); void __fastcall Button1Click(TObject *Sender); void __fastcall Button2Click(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif [/code] Unit1.cpp [code cpp] #include double __fastcall TForm1::determine(vector { ...... return det; } [/code]
------
-謝謝大大熱心的回覆!謝謝! |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |