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

📄 dfattribute.h

📁 MDO1铺设好了数据结构和主调函数。但是发现在输出显示目录和添加删除时比较麻烦
💻 H
字号:
// DFattribute.h: interface for the DFattribute class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DFATTRIBUTE_H__6597B7A8_7056_4521_B17C_0A072DB1E542__INCLUDED_)
#define AFX_DFATTRIBUTE_H__6597B7A8_7056_4521_B17C_0A072DB1E542__INCLUDED_

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

class DFattribute  
{
public:
	DFattribute();
	print();
	virtual ~DFattribute();
	friend void initialize();
	friend void GetPath(int i);
	friend void DIR();
	friend void CD(char *DFname);
	friend int JugPath(char DFname[100]);
	friend void MD(char *DFname);
	friend void MK(char *DFname);
	friend void RD(char *DFname);
	friend void DEL(char *DFname);
private:
    char Name[20]; 
	int  NowDir;  //当前目录(Directory)
	char CreateTime[24]; //创建时间   //若改变一下此变量定义的行位置,输出信息会不同,为什么??
    int  bu; //为消除时间显示错误而设
	//	int  length;
	int  FatherDir; //父目录
	char type; //类型D|F

};

#endif // !defined(AFX_DFATTRIBUTE_H__6597B7A8_7056_4521_B17C_0A072DB1E542__INCLUDED_)

⌨️ 快捷键说明

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