Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
what is the easy way to get the bottom of QStack?
Hi,
Since QStack is a QVector you can use last
i think it's the stack.first() , isn't it?
Indeed, since it's a stack it's "reversed logic"
so stack.first() == the bottom element/ stack.last() == stack.top() right?
Yes, but it's generally quicker to write a little test application to verify such things than wait on answer