Monday, December 20, 2010

std::vector

While looking at various online examples of how to do the wxWidgets strip chart, I stumbled across this C++ implementation of the C linked list, the std::vector. This object is so beautiful and solves so many problems that I shall give it its own entry here.

I also ran across the following tutorial that explains how to use std::vectors in such painstakingly simple terms that essentially no other reference is required:

http://www.codeguru.com/cpp/cpp/cpp_mfc/stl/article.php/c4027