I've used the code in this thred to generate an image on the Console. It works fine but the problem is that I don't know how to clear the screen in dev-cpp. I've imported some libraries (conio & winbgim) from this site and clrscr() works but it only deletes text characters and doesn't delete the graphics part.
Altough I've imported the graphics library from that site and correctly linked it in dev-cpp, the cleardevice() function does not work, it does not delete the picture from the screen and the program does not give me any errors.
I'm looking for a function which can delete the picture on the screen in dev-cpp.
Thanks in advance,