Just a quick question about multidemintional arrays, i understand that when i create them i can put values into them with = {values} however is there anyway to put the values in them the sameway after ive created them (without a loop of somekind)?
Heres the code ive got, FONTHEIGHT and FONTWIDTH are #defines of 8 and 4. chr is just an int.
Code:int FontArray[FONTHEIGHT][FONTWIDTH];
switch (chr)
{
// H
case 72: FontArray[][] = { {1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 1, 1, 1 },
{1, 1, 1, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 }}; break;
default: FontArray[][] = { {1, 1, 1, 1 },
{1, 1, 1, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 0, 0, 1 },
{1, 1, 1, 1 }}; break;
}