I AM TRYING TO PRINT OUT A DOUBLY LINKED LIST. I AM ABLE TO GET THE LIST TO PRINT FROM HEAD TO TAIL.. HOWEVER WHEN I PRINT TAIL TO HEAD ONLY THE HEAD WILL PRINT. THIS IS THE LAST PART OF THE CODE. I HAVE INCLUDED THE LINK LIST CODE. ANY SUGGESTIONS?
*INPUT UP TO EOF...
I am learning linked lists in fortran and I am working on a program now that reads from a file. Inside the file is a name followed by an age on the next line. the program reads all of the names, and ages until it reaches the end of file. it then prints the names and ages from head to tail...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.