Thanks Mudguard,I will have a play next week. This one started with Tim,one of my brothers, asking me for some guidance for a C++ assignment he has to do (lucky sod, he has less on paper than me programming wise but he managed to get on a course in Liverpool which awards a post-graduate certificate- much as I hate study, I would have enjoyed that course) and I thought it would be nice to try to implement some form of ForEach function to iterate through the linked lists he is using and call a function to perform a specif task rather than repeating the same code to work through the lists for several functions.
I may be completely on the wrong lines anyway but at least it is a challenge for me to see if I can come up with that sort of solution.
Jon