foo.cpp: In function 'int main()':
foo.cpp:12:43: error: 'memset' was not declared in this scope
foo.cpp:15:17: warning: array subscript has type 'char' [-Wchar-subscripts]
foo.cpp:15:29: warning: array subscript has type 'char' [-Wchar-subscripts]
foo.cpp:21:18: warning: array subscript has type 'char' [-Wchar-subscripts]
foo.cpp:29:17: warning: array subscript has type 'char' [-Wchar-subscripts]
foo.cpp:29:29: warning: array subscript has type 'char' [-Wchar-subscripts]
foo.cpp:35:18: warning: array subscript has type 'char' [-Wchar-subscripts]