i have an "add function" that adds names alphabetically to a sorted linked list.
the list is already made in this format :
if i add a node : adam ( it goes to the end of the list instead of getting attached to the head )
if i add node: Adam ( it gets attached to the head fine )
so as long as I am adding according to this format Xxx it works . if i add xxx it doesn't work .
p.s : i use strcmp to find the specific location for the node .
anyway to make the liked list take the name whether it starts with capital or lower letter and put it in the right place?
Edited 4 Years Ago by evanovan: n/a