site Search Results
Results for: Andrew Koenig
Order the NEW
Discounted Dr. Dobb's Developer Library DVD 6
Purchase the fully searchable DVD for $59.95 - a 60% discount! Features
21 years of Dr. Dobb's Journal, 15 years of Sys Admin
magazine, 14+ years of C/C++ Users Journal, 1 year worth of Dr.
Dobb's Digest, podcasts, videos and more! Order Now.
More Thoughts On Sorting
I have received several comments from readers of this article, which I intend to address here. - C/C++
Teaching C++ Badly — How To Sort Slowly
This post continues the discussion that I started in April about how not to teach C++. - C/C++
More Thoughts About Arrays and Vectors
My recent comments about teaching vectors instead of arrays to C++ beginners has left an important idea unstated that I think it is worth mentioning explicitly. - C/C++
Teaching C++ Badly: Introduce Constructors and Destructors at the Same Time
For years, I used to teach constructors, destructors, copy constructors, and copy assignment at the same time — and very early in the curriculum. My reasoning was straightforward: These four special member functions interact with each other in ways that often cause them to be used together, so why not cover them together? I originally intended that question to be rhetorical; it took me years to realize that it really had an answer. - C/C++
Avoid New and Delete for Dynamic Arrays
This note continues the discussion I started last month about teaching C++. In it, I have been advocating the standard vector template instead of built-in arrays. - C/C++
C/C++ Programming in a UNIX Environment
How long did it take you to learn C++? Do you think you could squeeze that into a single undergraduate semester, giving it only the 20% of your attention span that is due? - C/C++
More Thoughts on Arrays, Vectors, and Strings
I'd like to say a little more about why I feel so strongly that it is a bad idea to begin by teaching C++ beginners how to use built-in arrays. - C/C++
Teaching C++ Badly: How to Misuse Arrays
My last post listed some ways in which I've seen C++ taught badly, and promised to explain these teaching techniques in more detail. Here is the first of those explanations. - C/C++
How To Teach C++ Badly
I've been teaching C++ a long time, so I've learned from a lot of mistakes along the way. As a result, I'm not surprised to see other people make similar mistakes. - C/C++
More Than Good Enough for Homework
Trying to find a correct solution to the problem of putting the elements of an array in a random sequence - Design