türüne çevirme özelliği yok. xmlChar*
(imzasız char * olan) bir dizgim var, bu imzasız char'ı std::string
türüne dönüştürmek istiyorum. convertigned char * 'yi String
xmlChar* name = "Some data";
Ben döküm yazmak için elimden geleni yaptım, ama bunu dönüştürmek için bir yol yapamadı.
'Dize veya' std :: string'? Std :: string' anlamına gelmezseniz 'String' nedir? –
Maalesef @Mats Petersson, BTW onun std :: string – Cyril
Kullanım bu [Bkz reinterpret_cast http://stackoverflow.com/questions/658913/c-style-cast-from-unsigned-char-to-const- karakter] [1] [1]: ve http://stackoverflow.com/questions/658913/c-style-cast-from-unsigned-char-to-const-char – Ani