memset is not defined code example
Example: error: ‘memset’ was not declared in this scope in cpp
C: #include <string.h>
C++: #include <cstring>
NOTE: inclusion of above headers works fine
C: #include <string.h>
C++: #include <cstring>
NOTE: inclusion of above headers works fine