I am using the standard template library function list. I have made a list and a iterator but the problem is mainly with the iterator.
This is the code that is giving the error:
I also get a warning:Code:++textiter;
The error that happens is a standard windows error saying the program had to close.Code:warning C4251: 'D3dEngine::Engine::textlist' : class 'std::list<_Ty>' needs to have dll-interface to be used by clients of class 'D3dEngine::Engine'