Adding the '-' doesn't work. Please advise. Thank you.
char keys[100][30];
. . .
Code:void printData(void) { int x = 0; strcat(keys[x],"-"); for(x = 0;x<cntr+1;cntr++) puts(keys[x]); }
Adding the '-' doesn't work. Please advise. Thank you.
char keys[100][30];
. . .
Code:void printData(void) { int x = 0; strcat(keys[x],"-"); for(x = 0;x<cntr+1;cntr++) puts(keys[x]); }