You have to move into the screen before drawing the lines, eg instead of calling glTranslatef(0.0f, 0.0f, 0.0f), try to call glTranslatef(0.0f, 0.0f, -10.0f).
BTW glTranslate(0,0,0) is absolutely useless

The default winding is CCW in OpenGL.
And if you want to draw a triangle with lines, I recommend GL_LINE_LOOP instead of GL_LINES.
GL_LINES on 4 vertices joins vertex 1 to vertex 2, and vertex 3 to vertex 4
GL_LINE_STRIP on 4 vertices joins vertex 1 to vertex 2, vertex 2 to vertex 3, and vertex 3 to vertex 4
GL_LINE_LOOP on 4 vertices joins vertex 1 to vertex 2, vertex 2 to vertex 3, vertex 3 to vertex 4, and vertex 4 to vertex 1
So, if you work with 3 vertices :
GL_LINES will join vertex 1 to vertex 2, and will ignore vertex 3 ; whereas GL_LINE_LOOP will join vertex 1 to vertex 2 to vertex 3 to vertex 1.
Hope this helps.