I am writing a linked list in C++, I cant seem to get a new line in my text file, everything I enter seems to wind up in one line, please help, here is my code.
endl is outputting a newline to the file. The problem doesn't seem to be in this code, but may be something to do with how you are viewing the contents of the file.