how to instantiate core::string

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Tanuva
Posts: 54
Joined: Tue Oct 10, 2006 6:49 pm
Location: 200 metres behind the moon
Contact:

how to instantiate core::string

Post 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? ;)
Tanuva
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post 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;
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Tanuva
Posts: 54
Joined: Tue Oct 10, 2006 6:49 pm
Location: 200 metres behind the moon
Contact:

Post by Tanuva »

Ha, thats it. Thanks!
Tanuva
Post Reply