TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Creates an array to be used as stack for storing values. More...
Public Attributes | |
std::array< float, 20 > | stack {} |
Array which will be used to store numbers in the input. | |
int | stackTop = -1 |
Represents the index of the last value added to array. -1 means array is empty. | |
Creates an array to be used as stack for storing values.
Definition at line 32 of file postfix_evaluation.cpp.
std::array<float, 20> others::postfix_expression::Stack::stack {} |
Array which will be used to store numbers in the input.
Definition at line 34 of file postfix_evaluation.cpp.
int others::postfix_expression::Stack::stackTop = -1 |
Represents the index of the last value added to array. -1 means array is empty.
Definition at line 35 of file postfix_evaluation.cpp.