Re: error: braces around scalar initializer
Posted: Sun Aug 08, 2010 5:20 pm
OHhhh.. This namespace gets around another problem that i had.
Thanks guys very much for all your help. I will go with the namespace concept.
Edit: Scratch that, though i love the idea of using the namespace. The problem i found out about it is that since i have 24 font files, when i implement this namespace it includes all of them even though i am not using any of it. when i use the static idea, it does not. with the static, it only pulls the fonts that i am using in the project into the compile. This is nice. Though is there a way to have the best of both worlds ?
I changed it to this:
Thanks guys very much for all your help. I will go with the namespace concept.
Edit: Scratch that, though i love the idea of using the namespace. The problem i found out about it is that since i have 24 font files, when i implement this namespace it includes all of them even though i am not using any of it. when i use the static idea, it does not. with the static, it only pulls the fonts that i am using in the project into the compile. This is nice. Though is there a way to have the best of both worlds ?
I changed it to this:
Code: Select all
const struct Font12F
{
XySize sizeInfo;
BYTE fontdata[24];
}
Font12F [95] =