on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen.
i thank everyone that might help me, I know a little bit programming on C but I'm a little confused when it connects with OpenGl.
Thanks a lot.

Sorry, but we don't do your school work for you. Make an effort. Post your code and errors/problems you are having here and we may be able to help.