unit1.h

来自「互相关计算程序 非常实用的一个数据处理程序 非常好用」· C头文件 代码 · 共 56 行

H
56
字号
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <stdio.h>
#include <Dialogs.hpp>
#include <dir.h>
#include <math.h>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
#define NN_Column  100
#define NN_Row 100000
#define NO_VALUE -9999
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TBitBtn *Btn_OpenFile;
        TBitBtn *Btn_SaveResults;
        TOpenDialog *OpenDialog1;
        TSaveDialog *SaveDialog1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TComboBox *ComboBox_Line1;
        TComboBox *ComboBox_Line2;
        TLabel *Label4;
        TLabel *Label_Example;
        TLabel *Label5;
        TGroupBox *GroupBox1;
        TRadioButton *RadioButton_Corr;
        TRadioButton *RadioButton_CorrCoeff;
        TImage *Image1;
        TLabel *Label_Output;
        void __fastcall Btn_OpenFileClick(TObject *Sender);
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Btn_SaveResultsClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
         double *Data[NN_Row];
         int   *Data_Flag;
        int  CharToDouble(char string[],double data[],unsigned int nn);
        int Row,Column;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?