Memset Was Not Declared In This Scope 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

Comments