Problem when reading input in C
- by gcx
I've made a Linked List. Its elements keep both previous and next items' address. It gets commands from an input file. It detects the command and uses the following statement as a parameter. (text: add_to_front john - means: add_to_front(john))
Code: http://pastebin.com/KcAm1y3L
When I try to give the commands from an input file it gives me same…