//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TStringGrid *StringGrid1; TEdit *Edit1; TLabel *Label1; void __fastcall FormShow(TObject *Sender); void __fastcall StringGrid1SelectCell(TObject *Sender, int ACol, int ARow, bool &CanSelect); private: // User declarations void __fastcall Indeksowanie(int n, int c); void __fastcall Dodawanie(int n, String t); AnsiString Wpisz(double s); double id[1000000]; double suma; public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif