Click here to Skip to main content
15,893,401 members
Articles / Programming Languages / C++

Very Useful C++ Stream Class

Rate me:
Please Sign up or sign in to vote.
4.46/5 (14 votes)
18 Oct 2009CPOL2 min read 55.9K   1K   43  
An article about a very useful C++ stream class
#pragma once

class CStreamSampleDlg : public CDialog
{
// Construction
public:
	CStreamSampleDlg(CWnd* pParent = NULL);

// Dialog Data
	enum { IDD = IDD_STREAM_SAMPLE_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();

	DECLARE_MESSAGE_MAP()
public:
    afx_msg void OnBnClickedExample1();
    afx_msg void OnBnClickedExample2();
    afx_msg void OnBnClickedExample3();
};

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) EzTools Software
Australia Australia
I'm EzTools Software, a small software company in Perth, Western Australia. I've created some interesting and hopefully useful tools and technology, which you can see at www.eztools-software.com.

Comments and Discussions