Files
UU_la_parallel_programming_…/Assignment_3/lib/Stack.h
2021-01-08 17:17:32 +01:00

15 lines
287 B
C++

#pragma once
#include "Node.h"
class Stack {
protected:
std::string name;
Stack(std::string _name);
Node* first;
public:
bool push(int element);
bool pop(int element);
bool size(int element);
std::string print_stack();
};