"undefined reference to 'func~'" error..
I'm new to that program, so I can't figure out the reason for the error.
enter image description here
You need to add #include <stdlib.h>
#include <stdlib.h>