motorcarset.h

来自「一个课程作业」· C头文件 代码 · 共 48 行

H
48
字号
#if !defined(AFX_MOTORCARSET_H__1954888C_389D_40D1_8F81_C065433A7375__INCLUDED_)
#define AFX_MOTORCARSET_H__1954888C_389D_40D1_8F81_C065433A7375__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// MotorCarSet recordset

class MotorCarSet : public CRecordset
{
public:
	MotorCarSet(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(MotorCarSet)

// Field/Param Data
	//{{AFX_FIELD(MotorCarSet, CRecordset)
	CString	m_location;
	long	m_price;
	long	m_numCars;
	long	m_numAvail;
	//}}AFX_FIELD


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(MotorCarSet)
	public:
	virtual CString GetDefaultConnect();    // Default connection string
	virtual CString GetDefaultSQL();    // Default SQL for Recordset
	virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
	//}}AFX_VIRTUAL

// Implementation
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
};

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

#endif // !defined(AFX_MOTORCARSET_H__1954888C_389D_40D1_8F81_C065433A7375__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?