- #1
sneez
- 312
- 0
Im trying to learn some c after java.
Im writing a linked list and i have this problem
from main i call : add( (x *)&head, (x *)&tail)
inside the function add i try to get input from user
blah balh
strcpy(tail->name, gets(str));
why does the program goes to next line without letting me to input the name ?
i hope I am clear if not let me know
sneez
Im writing a linked list and i have this problem
from main i call : add( (x *)&head, (x *)&tail)
inside the function add i try to get input from user
blah balh
strcpy(tail->name, gets(str));
why does the program goes to next line without letting me to input the name ?
i hope I am clear if not let me know
sneez