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

Upload New File

parent d56ceee9
Branches
Tags
No related merge requests found
#include<iostream>
using namespace std;
class List {
public:
List();
~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 new_value);
};
Node* head{nullptr};
Node* tail{nullptr};
int list_size {};
void printlist(Node* head);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment