mirror of
https://github.com/13hannes11/UU_la_parallel_programming_practical_assignments.git
synced 2024-09-04 00:50:58 +02:00
add header file for set
This commit is contained in:
15
Assignment_2/lib/Set.h
Normal file
15
Assignment_2/lib/Set.h
Normal 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();
|
||||
};
|
||||
Reference in New Issue
Block a user