⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page2.h

📁 一个内含进程管理、内存管理、文件管理的操作系统设计实现方案
💻 H
字号:
#if !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)
#define AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page2.h : header file
//
//#include "exe.h"

//#include <string.h>
/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog

class CPage2 : public CDialog
{
// Construction
public:
	int write(int fd, char *buf, int len);
	int rmdir(char *name);
	int read(int fd, char *buf);
	void print();
	int open(char *name);
	int mov(char *name1, char *name2);
	int mkdir(char *name);
	void executive(char *contect, int num);
	void dir();
	int del(char *name);
	int create(char *name);
	int copy(char *name1, char *name2);
	int close(char *name);
	int chdir(char *name);
	void format();
	void enter();
	void initfile();
	CPage2(CWnd* pParent = NULL);   // standard constructor
   // Dialog Data
	//{{AFX_DATA(CPage2)
	enum { IDD = IDD_DIALOG2 };
	CString	m_cmd;
	CString	m_display;
	//}}AFX_DATA
    
	char *bufferdir;    /*记录当前路径的名称*/
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPage2)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	
// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPage2)
	afx_msg void OnBootf();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
typedef struct ico
{
	int x1;
	int y1;
	int x2;
	int y2;
}graph;

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

#endif // !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)

⌨️ 快捷键说明

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