mirror of
https://github.com/13hannes11/UU_la_parallel_programming_practical_assignments.git
synced 2024-09-04 00:50:58 +02:00
24 lines
484 B
C++
24 lines
484 B
C++
#pragma once
|
|
|
|
#include "Node.h"
|
|
|
|
class Set {
|
|
protected:
|
|
std::string name;
|
|
Set(std::string _name);
|
|
Node* first;
|
|
public:
|
|
bool add(int element) { return false; };
|
|
bool rmv(int element) { return false; };
|
|
bool ctn(int element) { return false; };
|
|
std::string get_name() { return name; };
|
|
};
|
|
|
|
Set::Set(std::string _name){
|
|
name = _name;
|
|
first = Node::Dummy();
|
|
Node* last = Node::Dummy();
|
|
first->next = last;
|
|
}
|
|
|