What C++ pitfalls should I avoid ?
- by Craig H
I remember first learning about vectors in the STL and after some time, I wanted to use a vector of bools for one of my projects. After seeing some strange behavior and doing some research, I learned that a vector of bools is not really a vector of bools.
Anyone out there have any other common pitfalls to avoid in C++?