I'm trying to figure out what the best way to display an object from a file such as:
As you can see, each vertex is listed first and then each face shows which vertexes are used to construct it.I'm not very familiar with I/O in C++ and have no idea how to start.Code :CUBE 8 1 1 1 1 2 1 1 -1 3 1 -1 1 4 1, -1 -1 5 -1 1 1 6 -1 1 -1 7 -1 -1 1 8 -1 -1 -1 6 4 2 1 3 4 4 5 6 8 7 4 1 2 6 5 4 4 3 7 8 4 3 1 5 7 4 2 4 8 6



