Page 1 of 1

how to instantiate core::string

Posted: Wed May 02, 2007 7:11 pm
by Tanuva
Ive checked the documentation for an irrlicht-specific string class - and I found irr::core::string. But how to I get an instance of that class to use it? These two template parameters confused me. I know how to deal with the template-thing in f.e. dimension2d, but what should I do here to get a string? ;)

Posted: Wed May 02, 2007 7:41 pm
by sudi
just the same.....
either
irr::core::string<irr::c8> bli; same as irr::core::stringc bli;
irr::core::string<wchar_t> bla; same as irr::core::stringw bla;

Posted: Wed May 02, 2007 7:57 pm
by Tanuva
Ha, thats it. Thanks!