sample code for graphing

In the VC environment I wish to use OpenGL for graphing purposes. Wondering if anyone has some source code for graphing a line?? That should give me a good start.
Thanx in advance,

Look at

it may help u.

Thanx…but ive already seen that page and nothing’s really relevant to what id like to accomplish. Just a window with some axes and a line, nothing spectacular. Id like to generate the data randomly which isnt much of a problem, its the graphics cus im new to OpenGL.