error BGI graphics not supported under Windows

¿Saben como puedo evitar este error?