Created Linked List node + Linked List - Incomplete
This commit is contained in:
parent
227614c62d
commit
9ec4e515f2
@ -129,10 +129,14 @@
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\Generic\directednode.h" />
|
||||
<ClInclude Include="src\Generic\undirectednode.h" />
|
||||
<ClInclude Include="src\LinkedList\linkedlist.h" />
|
||||
<ClInclude Include="src\LinkedList\linkedlistnode.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\Generic\directednode.cpp" />
|
||||
<ClCompile Include="src\Generic\undirectednode.cpp" />
|
||||
<ClCompile Include="src\LinkedList\linkedlist.cpp" />
|
||||
<ClCompile Include="src\LinkedList\linkedlistnode.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -21,6 +21,12 @@
|
||||
<ClInclude Include="src\Generic\undirectednode.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\LinkedList\linkedlist.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\LinkedList\linkedlistnode.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\Generic\directednode.cpp">
|
||||
@ -29,5 +35,11 @@
|
||||
<ClCompile Include="src\Generic\undirectednode.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LinkedList\linkedlist.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\LinkedList\linkedlistnode.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
6
DataStructures/src/LinkedList/linkedlist.cpp
Normal file
6
DataStructures/src/LinkedList/linkedlist.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "linkedlist.h"
|
||||
#include "linkedlistnode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
|
||||
}
|
20
DataStructures/src/LinkedList/linkedlist.h
Normal file
20
DataStructures/src/LinkedList/linkedlist.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
namespace Datastructures {
|
||||
class LinkedList
|
||||
{
|
||||
public:
|
||||
LinkedList();
|
||||
~LinkedList();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
LinkedList::LinkedList()
|
||||
{
|
||||
}
|
||||
|
||||
LinkedList::~LinkedList()
|
||||
{
|
||||
}
|
||||
}
|
7
DataStructures/src/LinkedList/linkedlistnode.cpp
Normal file
7
DataStructures/src/LinkedList/linkedlistnode.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include "linkedlistnode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
namespace Nodes {
|
||||
|
||||
}
|
||||
}
|
17
DataStructures/src/LinkedList/linkedlistnode.h
Normal file
17
DataStructures/src/LinkedList/linkedlistnode.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "../Generic/undirectednode.h"
|
||||
|
||||
namespace Datastructures {
|
||||
namespace Nodes {
|
||||
template <typename T>
|
||||
class LinkedListNode : public Generic::UndirectedNode<T, LinkedListNode>
|
||||
{
|
||||
public:
|
||||
LinkedListNode();
|
||||
~LinkedListNode();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user