📄 find.h
字号:
#if !defined(AFX_FIND_H__EF904CB6_4849_4839_B2A9_09C6750EBD78__INCLUDED_)
#define AFX_FIND_H__EF904CB6_4849_4839_B2A9_09C6750EBD78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Find.h : header file
//
//extern var
const int namelen2=40;
struct symtab_node2 //二叉树的结点结构
{
struct symtab_node2 *left; //指向左孩子
struct symtab_node2 *right; //指向右孩子
char type[namelen2+1];
char name[namelen2+1]; //指向标识符的名字串
int lineno; //line number
};
/////////////////////////////////////////////////////////////////////////////
// CFind dialog
class CFind : public CDialog
{
// Construction
public:
symtab_node2* m_symtab_node_root;
void FindString(const symtab_node2* np);
CFind(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFind)
enum { IDD = IDD_DIALOG1 };
CListCtrl m_ListCtrl_Find;
CString m_Edit_String;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFind)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFind)
afx_msg void OnButtonFind();
afx_msg void OnChangeEditString();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_i;
char* m_string;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FIND_H__EF904CB6_4849_4839_B2A9_09C6750EBD78__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -