c2079

C++: Can't use std::wstringstream

For some reason, my project won't compile when I try to create a wstringstream: std::wstringstream stringstream; This causes error C2079: 'stringstream' uses undefined class 'std::basic_stringstream<_Elem, _Traits, _Alloc> with [_Elem=wchar_t, _Traits=std::char_traits, _Alloc=std::allocator' What am I doing wrong? ...

Error C2079, what order to define classes in

Hi, I'm getting a compiler error with this header file: #ifndef GAME1_H #define GAME1_H #include "GLGraphics.h" #include "DrawBatch.h" class GameComponent; class Game1 { private: GLGraphics graphics; GameComponent components; void updateDelegates(); void Run(); }; class GameComponent { private: static...