I am having trouble deleting a string from a list. My program has to read strings from a file, then I have to delete the ones that are equal. I am a little bit lost. Any suggestions would be appreciated.

Recommended Answers

All 2 Replies

You need to be calling
new node;
for each word you read from the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.