wrapped all the functions inside a class

This commit is contained in:
Samrat De 2020-05-22 09:21:03 +05:30
parent 3df1f82bf6
commit 90c246035f

View File

@ -11,7 +11,7 @@ struct node {
class double_linked_list {
public:
double_linked_list() {
start = NULL;
start = NULL;
}
void insert(int x);
void remove(int x);