I think that it's a scanf() problem, yet I get no errors when I compile. What do you think?Code:#include <stdio.h> int input; char msg[128]; void decrypt() { int i = 0; while(i<128) { scanf("%i",input); if(input == 30) msg[i] = 0x41; else if(input == 02) msg[i] = 0x42; else return; i++; } } int main() { decrypt(); printf("\n"); return 0; }