mirror of
https://github.com/13hannes11/UU_la_parallel_programming_practical_assignments.git
synced 2024-09-04 00:50:58 +02:00
update filenames
This commit is contained in:
15
Assignment_3/lib/Stack.h
Normal file
15
Assignment_3/lib/Stack.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user