is there any structure that can store a value (char, int, float...) and a string that is associated with that value and then whenever the string occurs in prog it is replaced with the value?
it must be too good to be true...