Alright, seems my program is running alright. If only I could get some of these errors cleared up.
strcpy(temp3, sec[j - 1];
strcpy(sec[j - 1], sec[j]);
cannot convert int to const char *
type mismatch in parameter
mismatch in call
I don't have const written in my call or my function declaration or in the actual function. So why would this be. I did have const everywhere but I deleted it. If I were to copy the program and rename it would it then work? If so does anyone know why this occurs?