stdafx.h

来自「小型学生管理系统」· C头文件 代码 · 共 56 行

H
56
字号
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__77EBEBEE_B5DE_4001_B3AC_3254048C8BCD__INCLUDED_)
#define AFX_STDAFX_H__77EBEBEE_B5DE_4001_B3AC_3254048C8BCD__INCLUDED_

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

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxcview.h>
#include <afxtempl.h>
#include <afxdisp.h>        // MFC Automation classes
#include <afxdb.h>			// MFC ODBC database classes
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxdao.h>

//////////////////////////////////////////////////////////////////////////
//
//读入学生信息结构体
typedef struct  
{
	CString m_Stu_No;
	CString m_Stu_Name;
	CString m_Stu_Email;
	CString m_Stu_Home;
}Student;//学生结构体

enum StuListSatatetag	//对学生信息表的操作记录
{
	NOOPTION = 0xFF,	//操作信息为空
	ADD_STU ,			//添加一个记录
	DELETE_STU,			//删除一个记录
	UPDATE_BEFORE,		//修改前的记录
	UPDATE_AFTER		//修改后的记录
};

typedef enum StuListSatatetag StuListSatate;

#define MAX_SUT_UPDATE 50  //每次更新链表的节点超过此限度更新一次数据库


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

#endif // !defined(AFX_STDAFX_H__77EBEBEE_B5DE_4001_B3AC_3254048C8BCD__INCLUDED_)

⌨️ 快捷键说明

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