error: ‘memset’ was not declared in this scope

If you receive: error: ‘memset’ was not declared in this scope

Fix it by including: #include <cstring> in the source of C++file.
If you use C then use : #include <string.h> .

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.