Hi,
I am defining all constants in a .h file.
Earlier it were
#defines
. I am replacing it with
const
.
Header file looks like
namespace preprocessing
{
namespace generaldef
{
const int BASE = 0;
}
}
for this code i am getting the following error
error: expected unqualified-id before numeric constant|
for the line
const int BASE = 0;