Hi there,

Here's a noddy question. How do I use const to define constants instead of #define?

Everything I read tells me to use const instead of #define in C++, but I've yet to see an example. So...

How how do I declare a const int in a header file?

Can I declare (and define) a const inside a class header?

Cheers