Skip to content
Snippets Groups Projects
Commit 04abd8bc authored by Alrik Appelfeldt's avatar Alrik Appelfeldt
Browse files

Upload New File

parent eb81a903
No related branches found
No related tags found
No related merge requests found
#include<iostream>
using namespace std;
class List {
public:
List();
~List();
List(std::initializer_list<int> const &list);
//void Insert_Head_Node(int value);
void Insert_Node(int insert_value);
bool List_Is_Empty();
class Node {
public:
int value;
Node* next{nullptr};
Node* previous{nullptr};
Node(int insert_value);
};
Node* head{nullptr};
Node* tail{nullptr};
int list_size {};
void printlist(Node* head);
int get_size();
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment