dfattribute.h

来自「MDO1铺设好了数据结构和主调函数。但是发现在输出显示目录和添加删除时比较麻烦」· C头文件 代码 · 共 39 行

H
39
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?