Using array to make letters

For our recent project in school, one of the requirements that I cannot figure out is how to use a 5x5 array to make a letter using * and spaces like:
****
*
*
*
****
Do you need to use for loops? I used a struct (which is a requirement) to declare an 5x5 array and a char called character.
1
2
3
4
5
struct Letter
{
int grid [5][5];
char character;
};

Then, using the following code to get the letter based on what is input
1
2
3
4
5
6
7
8
9
10
11
12
while(!in.fail()&&counter<256)
{
if(c=='A')
{
message[counter]=getA();
}
else if (c=='B')
message[counter]=getB();
else if (c=='C')
message[counter]=getC();
else if (c=='D')
message[counter]=getD();

and so on. I could use a push in the right direction of just how to make one of the letters, the rest should follow the same format. Thanks!
Topic archived. No new replies allowed.