📄 linklist.h
字号:
//node.h
#ifndef _INSIDE_VISUAL_CPP_Node
#define _INSIDE_VISUAL_CPP_Node
class CNode:public CObject
{
DECLARE_DYNAMIC(CNode)
public:CString data;
CNode()
{
}
CNode(const CNode&s){
data=s.data;
}
const CNode&operator=(const CNode &s)
{
data=s.data;
return *this;
}
BOOL operator==( CNode&s)
{
if(data=s.data)
{
return true;
}
else{
return false;
}
}
BOOL operator!=(CNode&s)
{
//Let's make use of the operator we just defined!
return!(*this==s);
}
#ifdef _DEBUG
void Dump(CDumpContext&dc);
#endif
};
#endif
typedef CTypedPtrList<CObList,CNode*>CNodeList;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -