Main.cc: In function ‘int main()’: Main.cc:49:24: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset ( flg , -1 , 7 ) ; ^ Main.cc:71:12: error: ‘ebdl’ was not declared in this scope cout << ebdl ; ^~~~ Main.cc:71:12: note: suggested alternative: ‘expl’ cout << ebdl ; ^~~~ expl