Click here to Skip to main content
11,703,631 members (62,457 online)
Click here to Skip to main content
Add your own
alternative version

Writing own regular expression parser

, 14 Nov 2003 603.2K 9.9K 231
Explains principles behind writing regular expression parsers.
#if !defined(AFX_AG_FINDDIALOG_H__2CE336BF_3085_45BA_9E62_668EB0B5CF74__INCLUDED_)
#define AFX_AG_FINDDIALOG_H__2CE336BF_3085_45BA_9E62_668EB0B5CF74__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AG_FindDialog.h : header file
//

#define WM_FIND_NEXT	WM_USER+1

/////////////////////////////////////////////////////////////////////////////
// CAG_FindDialog dialog

class CAG_FindDialog : public CDialog
{
// Construction
public:
	CAG_FindDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAG_FindDialog)
	enum { IDD = IDD_FIND_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAG_FindDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAG_FindDialog)
		virtual void OnOK() {};
	afx_msg void OnCloseButton();
	afx_msg void OnFindNext();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AG_FINDDIALOG_H__2CE336BF_3085_45BA_9E62_668EB0B5CF74__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Amer Gerzic
President Infinity Software Solutions, LLC.
United States United States
Originally from Bosnia and Herzegovina, but lived for 6 years in Germany where I did majority of education, then moved to US, where I live since 1999. I like programming, computers in general, but also Basketball, Soccer, Tennis, and many other things. Masters graduate from Grand Valley State University in CIS and working as a full time software developer. Please visit my website www.amergerzic.com

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150819.1 | Last Updated 15 Nov 2003
Article Copyright 2003 by Amer Gerzic
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid