char word[9]; word[8] = '\n';
char word[9];
word[8] = '\n';
for(int a =64; a < 123; a++)
{
word[0] = a;
for(int b =64; b < 123; b++)
{
word[1] = b;
for(int c =64; c < 123; c++)
{
word[2] = c;
for(int d =64; d < 123; d++)
{
word[3] = d;
for(int e =64; e < 123; e++)
{
word[4] = e;
for(int f =64; f < 123; f++)
{
word[5] = f;
for(int g =64; g < 123; g++)
{
word[6] = g;
for(int h =64; h < 123; h++)
{
word[7] = h;
//do something with the word.
}
}
}
}
}
}
}
}