Platinum Partner

WcharToString

// description of your code here


#include 
#include 
using namespace std;


string wcharToString ( wchar_t *pp )
{
    locale loc;
    char pc[1024];
    wstring bb ( pp );
    use_facet< ctype >(loc).narrow ( bb.c_str(), bb.c_str()+bb.size()+1, '?', pc);
    return string ( pc );
}

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}