Original Post
I have a C struct that I would like to store a const short int in. However, I get an error when I create an object saying I have uninitialized constant members. Is there a way I can initilize this value ahead of time or at least in the same line that I create the item in? I would love to just make it a short int but what I am storing is, in fact, a const short int (and it seems more than a little silly to me that my compiler is unable to convert between a short int and a const short int).
Thank you
When you find yourself in the company of a halfling and an ill-tempered Dragon, remember, you do not have to outrun the Dragon...