Thanks, I forgot to add -Wall -Werror flags to gcc
Changed:
char *dept[5];
To:
char dept[5];
And removed the abv array
Type: Posts; User: nuko
Thanks, I forgot to add -Wall -Werror flags to gcc
Changed:
char *dept[5];
To:
char dept[5];
And removed the abv array
Hey everyone,
I tried to write a program wich scans some strings from stdi, stores them in arrays then from an array ("days") reads the chars and prints the day of the week according to the...