clrscr
is a Borland TurboC++ non-standard function, and isn't present in other compilers.
In your code, I would just remove the call (since you only use it the once at the top of the Main function) and ignore the lask of "clean screen" is leaves, but there is a method I found here:
http://stackoverflow.com/questions/930138/is-clrscr-a-function-in-c[
^] which should work.
#DEFINE WINDOWS 1
void console_clear_screen() {
#ifdef WINDOWS
system("cls");
#endif
#ifdef LINUX
system("clear");
#endif
}