<bdo id='mgPfd'></bdo><ul id='mgPfd'></ul>

    <small id='mgPfd'></small><noframes id='mgPfd'>

  • <tfoot id='mgPfd'></tfoot>
    1. <i id='mgPfd'><tr id='mgPfd'><dt id='mgPfd'><q id='mgPfd'><span id='mgPfd'><b id='mgPfd'><form id='mgPfd'><ins id='mgPfd'></ins><ul id='mgPfd'></ul><sub id='mgPfd'></sub></form><legend id='mgPfd'></legend><bdo id='mgPfd'><pre id='mgPfd'><center id='mgPfd'></center></pre></bdo></b><th id='mgPfd'></th></span></q></dt></tr></i><div id='mgPfd'><tfoot id='mgPfd'></tfoot><dl id='mgPfd'><fieldset id='mgPfd'></fieldset></dl></div>
    2. <legend id='mgPfd'><style id='mgPfd'><dir id='mgPfd'><q id='mgPfd'></q></dir></style></legend>

        c++ graphics.h -lbgi not found

        c++ graphics.h -lbgi not found(c++ graphics.h -lbgi not found)

          <bdo id='dyjX3'></bdo><ul id='dyjX3'></ul>
          1. <tfoot id='dyjX3'></tfoot>

                  <tbody id='dyjX3'></tbody>

                <small id='dyjX3'></small><noframes id='dyjX3'>

                <i id='dyjX3'><tr id='dyjX3'><dt id='dyjX3'><q id='dyjX3'><span id='dyjX3'><b id='dyjX3'><form id='dyjX3'><ins id='dyjX3'></ins><ul id='dyjX3'></ul><sub id='dyjX3'></sub></form><legend id='dyjX3'></legend><bdo id='dyjX3'><pre id='dyjX3'><center id='dyjX3'></center></pre></bdo></b><th id='dyjX3'></th></span></q></dt></tr></i><div id='dyjX3'><tfoot id='dyjX3'></tfoot><dl id='dyjX3'><fieldset id='dyjX3'></fieldset></dl></div>
              1. <legend id='dyjX3'><style id='dyjX3'><dir id='dyjX3'><q id='dyjX3'></q></dir></style></legend>

                • 本文介绍了c++ graphics.h -lbgi not found的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有这个代码:

                  #include<graphics.h>
                  int main( )
                  {
                      initwindow( 700 , 700 , "MY First Program");
                      circle(200, 200, 150);
                      getch();
                      return 0;
                  }
                  

                  但我收到此错误:

                  ld||cannot find -lbgi|
                  ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
                  

                  我将它添加到链接器选项以及其他内容中.

                  I added it to linker options and also the other things.

                  我该怎么办?

                  推荐答案

                  下载 this 并将其放入 C 编译器的 lib 文件夹中.也不要忘记添加链接器:

                  Download this and put it in your C compiler's lib folder. Also do not forget to add in the linkers:

                  -lbgi
                  -lgdi32
                  -lcomdlg32
                  -luuid
                  -loleaut32
                  -lole32
                  

                  执行上述操作后,您将获得属于initgraph() 或其他的实际编译错误.

                  After doing above, you would get the actual compile error belonging to initgraph() or other.

                  它在 Codeblocks 13.12 中对我有用.

                  It is worked for me in Codeblocks 13.12.

                  这篇关于c++ graphics.h -lbgi not found的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Constructor initialization Vs assignment(构造函数初始化 Vs 赋值)
                  Is a `=default` move constructor equivalent to a member-wise move constructor?(`=default` 移动构造函数是否等同于成员移动构造函数?)
                  Has the new C++11 member initialization feature at declaration made initialization lists obsolete?(声明时新的 C++11 成员初始化功能是否使初始化列表过时了?)
                  Order of constructor call in virtual inheritance(虚继承中构造函数调用的顺序)
                  How to use sfinae for selecting constructors?(如何使用 sfinae 选择构造函数?)
                  Initializing a union with a non-trivial constructor(使用非平凡的构造函数初始化联合)

                      <tbody id='xGnS0'></tbody>
                      • <bdo id='xGnS0'></bdo><ul id='xGnS0'></ul>
                      • <i id='xGnS0'><tr id='xGnS0'><dt id='xGnS0'><q id='xGnS0'><span id='xGnS0'><b id='xGnS0'><form id='xGnS0'><ins id='xGnS0'></ins><ul id='xGnS0'></ul><sub id='xGnS0'></sub></form><legend id='xGnS0'></legend><bdo id='xGnS0'><pre id='xGnS0'><center id='xGnS0'></center></pre></bdo></b><th id='xGnS0'></th></span></q></dt></tr></i><div id='xGnS0'><tfoot id='xGnS0'></tfoot><dl id='xGnS0'><fieldset id='xGnS0'></fieldset></dl></div>

                            <legend id='xGnS0'><style id='xGnS0'><dir id='xGnS0'><q id='xGnS0'></q></dir></style></legend>
                          • <small id='xGnS0'></small><noframes id='xGnS0'>

                            <tfoot id='xGnS0'></tfoot>