book.h

来自「一个小型的图书管理系统,用到了access数据库,其中有三种权限的用户登陆这个系」· C头文件 代码 · 共 56 行

H
56
字号
// Book.h : main header file for the BOOK application
//

#if !defined(AFX_BOOK_H__1C599F75_8D6C_4DDA_9E2E_626976AB6417__INCLUDED_)
#define AFX_BOOK_H__1C599F75_8D6C_4DDA_9E2E_626976AB6417__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "DengLu.h"
/////////////////////////////////////////////////////////////////////////////
// CBookApp:
// See Book.cpp for the implementation of this class
//

class CBookApp : public CWinApp
{
public:
	CBookApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBookApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CBookApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	public:
	CDatabase m_DB;//声明一个数据库类
	CString  Name;
	CString  mima;
	int quanxian;//用于获取用户的权限
	
};
extern CBookApp theApp;

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_BOOK_H__1C599F75_8D6C_4DDA_9E2E_626976AB6417__INCLUDED_)

⌨️ 快捷键说明

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