Trying to create n-time Timer

That part of the timer declaration is most likely correct. I tested it when I posted this:

The part after the colon on a C++ constructor implementation can initialize the base class as well as any class member variables. And if the member variable is a class, and it has a constructor that takes parameters, you can set the constructor parameters there.

1 Like