Well I had to create a program to sort a bunch of string. And the user gets to choose how many strings we get to sort. Now the program works when I hard code the n, the number of strings but when I let the user do it but using scanf, the problem arises when the gets() function skips the first reading in. Here is a shot of the code and problem:
http://i67.photobucket.com/albums/h3...nV2/screen.jpg
Does any know why this is happening?