You use the const keyword to create constant value.
For example:
#include <iostream> int main()// www . ja va 2 s .c o m { const unsigned int toe_count {2U}; std::cout << "The value of toe_count is " << toe_count << std::endl; }