Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
Loading...
Searching...
No Matches
others::postfix_expression::Stack Class Reference

Creates an array to be used as stack for storing values. More...

Collaboration diagram for others::postfix_expression::Stack:
[legend]

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.
 

Detailed Description

Creates an array to be used as stack for storing values.

Member Data Documentation

◆ stack

std::array<float, 20> others::postfix_expression::Stack::stack {}

Array which will be used to store numbers in the input.

34{}; ///< Array which will be used to store numbers in the input

The documentation for this class was generated from the following file: