?? 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 + -