prog.cpp: In function 'int main(int, char**)':
prog.cpp:6:16: error: 'MAX_PATH' was not declared in this scope
char init_dir[MAX_PATH] = "C:\\files\\";
^
prog.cpp:9:15: error: 'gen_xtea_key' was not declared in this scope
gen_xtea_key();
^
prog.cpp:10:16: error: 'gen_xtea_hash' was not declared in this scope
gen_xtea_hash();
^
prog.cpp:11:24: error: 'XTEA_KEY_HASH' was not declared in this scope
printf("hash = %u\n", XTEA_KEY_HASH);
^
prog.cpp:12:23: error: 'xtea_key' was not declared in this scope
printf("key = %u\n", xtea_key[0]);
^