I'm reading an obj file to get its vertex and index data, but the file I was reading didn't say how many vertices or indices, so I decided to use a vector to read it and then transfer the data to an array. The problem is that I can't do this.
How can I get around that?Code:UINT indices[vector.size()];