add header file for set

This commit is contained in:
2021-01-02 16:10:06 +01:00
parent 004e7a9cd6
commit a2b836f592
8 changed files with 25 additions and 27 deletions

15
Assignment_2/lib/Set.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include "Node.h"
class Set {
protected:
std::string name;
Set(std::string _name);
Node* first;
public:
bool add(int element);
bool rmv(int element);
bool ctn(int element);
std::string get_name();
};