How to use graphics.h in codeblocks?

前端 未结 5 1019
予麋鹿
予麋鹿 2020-11-27 20:39

I have recently started learning graphics in C++.

I tried #include in my program in codeblocks but it shows error. Then I downloaded

5条回答
  •  暖寄归人
    2020-11-27 21:16

    If you want to use Codeblocks and Graphics.h,you can use Codeblocks-EP(I used it when I was learning C in college) then you can try

    Codeblocks-EP http://codeblocks.codecutter.org/

    In Codeblocks-EP , [File]->[New]->[Project]->[WinBGIm Project]

    It has templates for WinBGIm projects installed and all the necessary libraries pre-installed.

    OR try this https://stackoverflow.com/a/20321173/5227589

提交回复
热议问题