Hai guys,
I have quite a large program here that I don't seem to understand. The program, Bow Vice Jet (an anagram for object view) is meant to display WaveFront .obj files. However, it quits when it loads a specific file while on my computer, while on another it does not. I can't find the bug, and it's very annoying. Maybe it has got something to do with memory allocation, maybe something else. If anyone sees any mistake in the code, please point it out and I will correct it. I know it's a vague question, "Find the bug", but I've been searching for quite some time now and can't figure it out.
The code is attached, together with the "quiting" file and a file that almost works. To see how these files should look in 3D space, download GLC Player or use your favorite 3D mesh viewing program.
Thanks in advance,
Nick