<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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Unable to access non-const member functions of objects in C++ std::set(无法访问 C++ std::set 中对象的非常量成员函数)
                  Constructing std::function argument from lambda(从 lambda 构造 std::function 参数)
                  STL BigInt class implementation(STL BigInt 类实现)
                  Sync is unreliable using std::atomic and std::condition_variable(使用 std::atomic 和 std::condition_variable 同步不可靠)
                  Move list element to the end in STL(在 STL 中将列表元素移动到末尾)
                  Why is overloading operatoramp;() prohibited for classes stored in STL containers?(为什么禁止对存储在 STL 容器中的类重载 operatoramp;()?)

                      <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>