开发者

How can I add graphics.h library on my mac?

I want to draw a rectangle using a C program. 开发者_JAVA技巧So I was trying to use the graphics.h header. But the GCC compiler gave me a error saying that the library could not be found.


graphics.h is a header that define functions for libbgi (Borland Graphics Interface)

Unless you have a Borland compiler of some sort installed on your Mac (if that's even possible), I think you'll end up having to use other graphic libraries, or install a Windows/Linux Virtual Machine on your Mac and then run/compile your code inside it.


graphics.h is not a standard C header and is probably a part of a custom library. If you can track down that original library and provide more info, we can probably help you get it set up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜