EDIT: Simple mistake.
Forgot to use "namespace"!

You should reply to the thread with the solution, instead of removing the question. If you delete the question, the answer doesn't help anyone in the future!

Dave

It barely had any code since it was so simple but fair point.

I was trying to use "list" on its own without the "std" namespace.

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.