drawing a curve

Oct 25, 2014 at 3:23pm
Hi
I want to draw an arc(curve) with arc function but it gives this message:
identifier "arc" is undefined
it's function:
arc(x,y,s_angle,e_angle,R);
what's the problem?
Oct 25, 2014 at 3:25pm
Is the arc function part of a library that you use? Are you including the necessary header files?
Oct 25, 2014 at 3:35pm
I don't know .
It's my library that i used for this program:
#include <GL/glut.h>
#include <cmath>
Topic archived. No new replies allowed.