I have a C++ function that assigns a character an ASCII value. It will create a wordlist of aa, ab, ac, etc. I have similar functions for numbers and upper case letters. I'm having trouble making one that would combine lowercase and upper case letters. Can anyone help me out please?
Code:
void lowercase()
{
 ofstream a_file("lower.txt");

   for (int counter = 97; counter < 123; counter ++)
     {

       for (int count =97;count < 123; count ++)

        {

         num[0] = counter;
         num[1] = count;
         a_file<< num << endl;

        }
     }

a_file.close();
      return;
}