I’ve found an anoying thing in C++. It’d seem that vectors lack a erase(int i) method, so that I have to use the erase(iterator iter) method instead. But since I still need to count with an int in my for loops, I have to manually make i and iter point at the same element. It annoys. It’s so unneccessary. The vector understands the [i] operator. It knows how to map an integer index to an object. Why can’t the bloody thing also do so in its methods?
Daily Archive for August 26th, 2004
A few ways to make my summer even better, in random order.
- Stop the rain.
- Make me thin and fit.
- Stop the killing.
- Bier! Schnell!
- Get me a girlfriend.
- Wireless coverage over entire CERN site (ok, my room and my office will do).
- Have a cuddly cat strolling about.
- Get me a coffee.
- And a piece of chocolate.
