nodebase.cpp
来自「异质链表 的实现 实现异质链表的查找、插入、删除和遍历」· C++ 代码 · 共 29 行
CPP
29 行
// NodeBase.cpp: implementation of the CNodeBase class.
//
//////////////////////////////////////////////////////////////////////
#include "NodeBase.h"
#include "iostream.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNodeBase::CNodeBase()
{
m_pNext = 0;
}
CNodeBase::~CNodeBase()
{
}
void CNodeBase::SetNext(CNodeBase* pNext)
{
m_pNext = pNext;
}
CNodeBase* CNodeBase::GetNext()
{
return m_pNext;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?