The Database Managers, Inc.

Contact The Database Managers, Inc.


Use an RSS enabled news reader to read these articles.Use an RSS enabled news reader to read these articles.

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.

  1. What executes faster: ++i or i++, where i is an integer variable?
  2. Which is generally more efficient: a function that returns a value by reference or a function that returns a value without using a reference?
  3. Describe inline functions and their limitations?
  4. Why use the STL sort() when we have "good old qsort()"?
  5. One programmer wants to sort a linked list using recursion; another programmer wants to do it without recursion. Which one has the better answer?
  6. When is an interface "good"?
Previous Questions More C++ Questions
Jump to Questions Page:  1  2  3  4  5  6  7  8  9  10  11  12  13 
 
Jump to Answers Page:  1  2  3  4  5  6  7  8  9  10  11  12  13 
Services | Programming | Contact Us | Recent Updates
Send feedback to: