How to convert string into const int ?