How to add graphics.h library to my Mac?

I want to draw a rectangle using program C. Therefore, I tried to use the title graphics.h. But the GCC compiler gave me an error stating that the library was not found.

I would be grateful if someone could help me with this.

+3
source share
2 answers

graphics.his the header that defines the functions for libbgi (Borland Graphics interface)

If you do not have any Borland compiler installed on your Mac (if possible), I think you will have to use other graphics libraries or install the Windows / Linux virtual machine on your Mac, and then run / compile your code inside it.

+3
source

graphics.h C , , . , , , .

+2

Source: https://habr.com/ru/post/1789638/


All Articles