mirror of
https://github.com/13hannes11/UU_la_parallel_programming_practical_assignments.git
synced 2024-09-04 00:50:58 +02:00
fix methods pop push, size
This commit is contained in:
@@ -10,9 +10,9 @@ Stack::Stack(ADTOperationQueue * queue){
|
||||
op_queue = queue;
|
||||
}
|
||||
|
||||
bool Stack::push(int element) { return false; }
|
||||
bool Stack::pop(int element) { return false; }
|
||||
bool Stack::size(int element) { return false; }
|
||||
void Stack::push(int element) { return; }
|
||||
int Stack::pop() { return 0; }
|
||||
void Stack::size() { return 0; }
|
||||
|
||||
std::string Stack::print_stack(){
|
||||
Node* c = this->first->next;
|
||||
|
||||
Reference in New Issue
Block a user