Originally Posted by itsme86 Code: while( gets(str) != NULL && str[0] != '\0' ) Yikes! Please don't ever use or encourage the use of the gets() function. Use fgets() instead. Yeah thanks... buffer-stuff... but the point here is the linked list.
while( gets(str) != NULL && str[0] != '\0' )