Changing the character output.
This is for a game I am making. I have a bitmap file with all 26 characters of the alphabet. The ASCII codes for each character in windows at least, for uppercase, start at the ASCII value of 65. This does not reflect in any way upon the position they are in the bitmap file. In the bitmap file letter A is 0, B is 1, and C is 2, and so forth. I need to change the ASCII values into my own custom values (the order that they are in the bitmap).
Is there a way to set C++ to compile all strings NOT with the ASCII codes but with my own custom character set. Meaning, is there a way to make C++ take each character in a string and write it in memory with the position they have in the bitmaps? Like "ABCD" would place "0,1,2,3" in memeory. If possible, I'd like this to be done before runtime with preprocessing macros.