possibly. feel free to post your full code, assuming it is not too long. In the meantime, about this function.. test it out on its own. Open a new .c file, and type the following...
Originally Posted by owi_just
Compile that and run it. Hope now its starting to make some sense.
printf("How many lines do you want to store?: ");
while (test == 0)
printf("Cant enter zero, try again: ");
printf("\nThe number of lines is: %d\n", test);