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?
This is a discussion on How to make a template a private data member within the C++ Programming forums, part of the General Programming Boards category; Not really sure how to explain this, but I will try my best. I have a class truck and in ...
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.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way