The difference between #define and const

can't work out why "constant int" is "more modern" though?

Because it supports type-checking, which a macro doesn't.