Using Vectors with GLU NURBS interface

Hi,

I am trying to use the GLU NURBS interface to draw NURBS surfaces. the glu command is accepting only arrays as input to the command. But i need to use dynamically created arrays or vectors in my project.

Is there any way in which the GLU NURBS interface can be made to work with dynamically allocated arrays(either with new or malloc) or the C++ vectors ??

Thank you.