I have finished writing a program that uses Linked lists and reads in input from a txt file. When the program executes there is no output. I have been going through the code for awhile now and there are no syntax errors and i can not seem to find what is causing it to not display the right output. Since my the code is a little long and i do not know where the problem is I will just attach the source code, the txt file and some information about the program. If anyone is kind enough to look through it and point me in the right direction that would be awesome.

prog2.txt

prog2.cpp

info.doc

Your not reading the txt file to the structure so the pointer to the structure will always be null and never execute anything your just reading the command nothing else.

Try to learn how to write and read structures to file. Methods read() and write().

Hope it helped.