mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
wrapped all the functions inside a class
This commit is contained in:
parent
3df1f82bf6
commit
90c246035f
@ -11,7 +11,7 @@ struct node {
|
|||||||
class double_linked_list {
|
class double_linked_list {
|
||||||
public:
|
public:
|
||||||
double_linked_list() {
|
double_linked_list() {
|
||||||
start = NULL;
|
start = NULL;
|
||||||
}
|
}
|
||||||
void insert(int x);
|
void insert(int x);
|
||||||
void remove(int x);
|
void remove(int x);
|
||||||
|
Loading…
Reference in New Issue
Block a user