wandr.h
来自「通过本程序能够实现os中经典的生产者消费者问题」· C头文件 代码 · 共 52 行
H
52 行
#if !defined(AFX_WANDR_H__A0CBC3C6_08CD_4D43_9D5C_1DFAA8786CD0__INCLUDED_)
#define AFX_WANDR_H__A0CBC3C6_08CD_4D43_9D5C_1DFAA8786CD0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WAndR.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWAndR dialog
class CWAndR : public CDialog
{
// Construction
public:
CWAndR(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWAndR)
enum { IDD = IDD_DIALOG1 };
CString m_strReaders;
CString m_strWriters;
int m_WaitingW;
int m_WaitingR;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWAndR)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CWAndR)
afx_msg void OnButtonAddreader();
afx_msg void OnButtonAddwriter();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WANDR_H__A0CBC3C6_08CD_4D43_9D5C_1DFAA8786CD0__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?