Not really sure how to explain this, but I will try my best.
I have a class truck and in class truck one of the private data members needs to be an object of linkedStackType<string>.
What syntax would I need to make that private data member?
Not really sure how to explain this, but I will try my best.
I have a class truck and in class truck one of the private data members needs to be an object of linkedStackType<string>.
What syntax would I need to make that private data member?
The usual: linkedStackType<string> is a type name, just like int.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)