consolidate all repos to one for archive
This commit is contained in:
19
semester_2/programiranje_2/primeri/Example01c/Stack01c.h
Normal file
19
semester_2/programiranje_2/primeri/Example01c/Stack01c.h
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
#ifndef EXAMPLE01C_STACK01C_H
|
||||
#define EXAMPLE01C_STACK01C_H
|
||||
|
||||
#define SIZE 50
|
||||
|
||||
class Stack {
|
||||
private:
|
||||
int arr[SIZE];
|
||||
int top;
|
||||
public:
|
||||
Stack();
|
||||
void push(int n);
|
||||
int pop();
|
||||
int isEmpty();
|
||||
};
|
||||
|
||||
|
||||
#endif //EXAMPLE01C_STACK01C_H
|
||||
Reference in New Issue
Block a user