Drawing 2D and 3D line graphs using OPENGL and C++

I would like to ask for some ideas on how to code 2D and 3D graphs using OPENGL and C++. I have but a few months work experience in C++ and nothing at all in OPENGL, so I honestly don’t know how to start this. I would appreciate any help you can give.

Well teaching someone in a forum might be a little hard so you can visit my site at http://programminghq.tk/ and get some OpenGL and C++ experience there. You can also email me and I can send code that way.