need help please. drawing a house

i need help can someone send me a dode that can draw a triangle using c in open gl

Have a look at www.fatech.com/tech/opengl/glut/

There’s a GLUT tutorial there and the source code has exactly a triangle in OpenGL.

Antonio www.fatech.com/tech