Efficient C++ Programming
by Curtis Krauskopf
Certain aspects of the C++ language were designed to perform more efficiently
than other parts. Knowing which parts are designed to improve speed, reduce
storage or improve programming productivity demonstrates your ability to use
those techniques in your daily programming.
- What executes faster: ++i or i++, where i is an integer variable?
- Which is generally more efficient: a function that
returns a value by reference or a function that returns
a value without using a reference?
- Describe inline functions and their limitations?
- Why use the STL sort() when we have "good old qsort()"?
- One programmer wants to sort a linked list using recursion; another programmer
wants to do it without recursion. Which one has the better answer?
- When is an interface "good"?