String Type Converting Help

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
aktlakfh1777
Posts: 17
Joined: Sun Dec 21, 2008 1:40 am

String Type Converting Help

Post by aktlakfh1777 »

Code: Select all

I can not convert 'wchar_t' to 'const wchar_t *'
what can I do ??

Code: Select all

const wchar_t tmpdata=NULL;
tmpdata =xml->getAttributeValue("name");
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

Take the const out of the tmpdata declaration. Why do you need that if you are going to be assigning to it?
TheQuestion = 2B || !2B
Post Reply