I keep getting this "[Error] Id returned 1 exit status" when I'm using some specific functions and I can't figure out why. Here's the last piece of code that's been giving me this error.
Code:
#include <stdio.h>
#include <malloc.h>
main(){
printf("Memory available: %u\n", _memavl());
}
It also says "Undefined reference to memavl" It's probably something simple and I'm missing it. It also gave me something like this when I tried using "cprintf" too. I tried checking to see if the program is running on the background and it's not. Thanks for your help.