C++ (Qt)char ch[sizeof(int)];int intval;intval = *(int*)ch;
char ch[sizeof(int)];int intval;intval = (int)ch;QString strval = QString::number(intval,8);