openSUSE v13.1
I installed Gnu (gcc/g++) v4.8, 64bit. I tried to compile a simple program. It failed because it could not find the headers for functions like memset(), strlen(), etc., functions defined in <string.h>; there is no <string.h>.
What else needs to be installed to complete the installation?
I installed Gnu (gcc/g++) v4.8, 64bit. I tried to compile a simple program. It failed because it could not find the headers for functions like memset(), strlen(), etc., functions defined in <string.h>; there is no <string.h>.
What else needs to be installed to complete the installation?
Code:
$ g++ --version
g++ (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
Copyright (C) 2013 Free Software Foundation, Inc.
Code:
reader.cpp: In function ‘void* SockReader(void*)’:
reader.cpp:96:34: error: ‘memset’ was not declared in this scope
memset(&mtbuff, 0, buffsize);