1
edit
Changes
no edit summary
(header) and implementation (making a cpp file) for that class template there are
numerous compile errors. What do all these errors mean?
Q: Can Stacks, Queues or Lists be referenced using indexes? <Q: How to get size of an array without storing the size anywhere? Q: How do you get the length of a file /pre>read the entire file without explicitly knowing its length, and how do you use that data afterwards?
</pre>
'''Q:''' Why is the postfix increment/decrement operator (e.g. a++ and a--) evaluated differently on different compilers?<br>
'''A:''' The evaluation of expressions, especially arithmetic expressions are based on sequence points which are undefined by the language. Arithmetic expressions containing complex postfix calculations are evaluated differently across different compilers because each compiler is unequally efficient. That is to say, these expressions are not portable as each compiler uses a different way to evaluate the expression based on its efficiency implementation. This can be noted by observing the process time of an expression across different platforms, which will be different for the same expression, due to different methods of evaluation. <br>