Help Please!!
I made a struct array, and I'm trying to pass the entire array of that object to another function.
struct Crypt
{
char english;
char code;
int count=0;
};
void main (void)
{
Crypt Key[26];
analyze(key);
}
void analyze(?????????)
{ int i=0; /*just a sample of the text*/
while(i!=26)
{
key[i].english=(i+65);
printf("%d%c ", key[i].count,key[i].english);
i++;
}
}
????? I don't know how to set it up or what i should be passing and it's driving me insane.