When I execute the code (posted below), on the following line:
It works fine doing the comparisons, up until it gets to the '/' character, at which point I get a seg fault. Why is this??
while(strncmp(ln, " ", 1) != 0)
printf("LN at current position: %s \n", ln);