// mfcDlg.h : ヘッダー ファイル // #include #include #include #pragma once struct cell{ char moji[512]; char att[64]; char text[512]; struct cell *next; }; void insert(char pl[512],char att[64],char text[512],struct cell **B); // CmfcDlg ダイアログ class CmfcDlg : public CDialog { // コンストラクション public: CmfcDlg(CWnd* pParent = NULL); // 標準コンストラクタ // ダイアログ データ enum { IDD = IDD_MFC_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV サポート // 実装 protected: HICON m_hIcon; // 生成された、メッセージ割り当て関数 virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: FILE *fp; cell *p[26]; char C,moji1[256],att[64],text1[512],text2[256]; CString text; afx_msg void OnBnClickedButton1(); afx_msg void OnBnClickedButton2(); afx_msg void OnLbnSelchangeList1(); CString moji; CString moji2; };