K
Kevin Houston
Why do I get the following compiler error:
**Illegal type 'const const int'**
when I try to compile this?
int somefunction(int someparameter)
{
const int myarray[][2] = /* Why won't it let me use const? */
{
{5, 37},
{6, 36},
};
/*the rest of the somefunction definition here*/
}
**Illegal type 'const const int'**
when I try to compile this?
int somefunction(int someparameter)
{
const int myarray[][2] = /* Why won't it let me use const? */
{
{5, 37},
{6, 36},
};
/*the rest of the somefunction definition here*/
}