BGI error, How to Resolve it?

后端 未结 6 1898
独厮守ぢ
独厮守ぢ 2021-01-13 18:02

I want to run a C program that draws a circle. The program is compiling with no error and it is running. After getting the values like radius from the user, I get the error

6条回答
  •  孤独总比滥情好
    2021-01-13 18:29

    If you get this error message when you run your graphics program: BGI Error: Graphics not initialized (use 'initgraph')

    Just you need to copy the \tc\bgi\EGAVGA.BGI file to your local folder where you are running the application.

提交回复
热议问题