-
Quote:
Originally Posted by
Elysia
That is not an excuse!
No, but it helps me keep track of what's going on easier.
I'll search for the map function. Strange I've never seen it if it's so common... :/
FlyingIsFun1217
----------EDIT----------
Ok, I found it. It's STL, which I haven't much worked with, explaining why I haven't seen it.
I am, probably to Elysia's disproval, going to go with the map function, as it seems to be exactly what I am looking for. I'll post results later.
FlyingIsFun1217
-
I don't disapprove std::map, I like it much more if you use std::map and store instances of classes which contains a single timer rather than a single instance of a class to store multiple timers. That almost defeats the purpose of a class.
Here's a tutorial of std::map:
http://www.cprogramming.com/tutorial/stl/stlmap.html