Error: expected primary-expression before '.' token

PaulS:

dht DHT;

This creates an instance of the class in a REALLY stupid way. Calling the instance the same name as the class, but in a different case, is like getting a dog, and calling it DOG. Really, can't anyone use some imagination?

I disagree thoroughly with this, it seems very straightforward - case convention distinquishes class from
instance variable, names are descriptive. Good code style is about clarity and consistency.