Loading xyz files

How can i load an xyz file into visual c++ and have opengl read and plot this data.

OpenGL will only plot the data. For loading, you have to do it yourself or use a different lib.

Then, it is only matter of :

glBegin(GL_POINTS);
 for (each point) {
     glVertex3d( thisPoint.x, thisPoint.y, thisPoint.z);
 }
glEnd;

read the GL starting dev faq :
http://opengl.org/resources/faq/getting_started.html

Thanks!!! I dont know why i couldnt figure that out.