However it won't compile as it produces errorC2143: syntax error : missing ';' before '*' where I have marked above. Can anyone tell me what's wrong with this?
Many thanks. J.
Welcome, I was excited that I knew the answer! Welcome to http://en.wikipedia.org/wiki/Dependency_hell you have to make sure that there's actually SOME mention of that class before you use it.