0_0_17908194_10255.cpp: In function 'void init()': 0_0_17908194_10255.cpp:28:12: error: 'sum' was not declared in this scope memset(sum, 0, sizeof(sum)); ^