prog.cpp:1:1: error: expected unqualified-id before 'for'
for (i = 0; i < BLOCKS_TO_ENCRYPT; i++)
^
prog.cpp:1:13: error: 'i' does not name a type
for (i = 0; i < BLOCKS_TO_ENCRYPT; i++)
^
prog.cpp:1:36: error: 'i' does not name a type
for (i = 0; i < BLOCKS_TO_ENCRYPT; i++)
^