ECE-250 – Algorithms and Data Structures
Skip to the content of the web site.

C++ Info and Links

Possibly quite useful link for the labs

For the memory management part (copy constructor, assignment operator), these guys in The Netherlands have a very good section on it in their C++ Annotations: http://www.icce.rug.nl/documents/cplusplus/

You'll want to select Chapter 9 (Memory Management) from the menu on the left, and read the following sections:

  • Section 9.1 (including 9.1.1, 9.1.2, 9.1.3 — definitely you'll want to SKIP sections 9.1.4 and 9.1.5)
  • Section 9.2 — you could perhaps skip 9.2.1, and definitely skip 9.2.2)
  • Section 9.3 (all of it)
  • Section 9.5
  • Section 9.6 (all of it)

Some of my own tutorials (introductory)

My tutorial on the Standard Template Library (STL)

C++ Implementation of 2-D Geometric Operations

  • Efficient 2-D Geometric Operations (article published in the C/C++ Users Journal)
     
    Some interesting geometric algorithms (related to what we're seeing in this course, though possibly a little on the “advanced” side; you may enjoy it — honest!)

Tutorials/reference on additional topics