FLTK version 1.3.2, Visual studio 2012 and the first example of Stroustrup's PPP book

眉间皱痕 提交于 2019-11-29 16:54:13

I finally found and solved the problem. This is as follows:

First, there is no need to add some library named *Graph_lib* into the Linker Input text field even if we assume there is a library with that name in the whole of the machine! The only needed change to be done to the project of code of page 411 (A first example) of PPP is to add the Graph_lib:: before the Polygon poly;. After that what we need is to adding some .cpp files to the project. I added all the .cpp files of GUI folder that I had downloaded them from Stroustrup's website to the project (they are Graph.cpp, GUI.cpp, Simple_window.cpp and window.cpp) and reran the project. It successfully showed the result. In any way, I'm thankful of you nice guys, especially, "cup".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!