I am having problem inputting hexadecimal number using unsigned char array. Code:
unsigned char key[16];
for(int i = 0; i < 16; i++){
cin>>key[i];
}
It takes single character as one character e.g. - 0x1b is read as 0 x 1 b separately. Please help me.