156 Posted Topics
It's correct, the pseudocode. It's very VBish, but it's correct.
Open it for reading and writing?
A bit more details would be nice. What integrity check?
fopen creates a FILE* to the given directory. It doesn't support spaces (at least, not on Windows). It returns NULL when a file doesn't exist. fread reads in a FILE*, parsing can be done with sscanf and your own mix of code. Going to the last line can't be done …
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 …
Hai all, I ran into a strange issue I never experienced before. Pointers are passed to function, the function allocates memory to them with calloc, and right before the return sanity checks if the pointers still != NULL. That check succeeds, but upon returning and sanity checking in the calling …
The End.