添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
How do I create a graph using koolplot library in code::blocks? I am running a console application using c++. Its simple code
#include " koolplot.h" int main() Plotdata x(- 3 . 0 , 3 . 0 ), y = sin(x) - 0 . 5 *x; plot(x, y); return 0 ; but I get an error:
fatal error: graphics.h: No such file or directory
Please help i solved that by installing graphics header file and making some necessary changes
http://www.codewithc.com/how-to-include-graphics-h-in-codeblocks/#sthash.uwvikIbG.dpuf]
but now i get several errors....
expected identifier before ‘[‘ token
any help??
  • Read the question carefully.
  • Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  • If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  • Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid.
  •