codice:
     string s = "PIPPO";
     unsigned char strHex[5];

     memcpy(strHex, s.c_str(), 5);