Dynamic Memory in Windows

(edit: ignore this post, it was user error)
////////////////////////////////////////////////////////////////////
I'm having trouble using vectors and "new" in my ebook reader program. I'm assuming at this point that they aren't supported in a windows program.

So if I'm right about that, then what should I look into next? Say my largest text file would be 4mb. Should I be using calloc, malloc, or heapalloc?
Last edited on
If your compiling c++ you can use vectors and new. Can you describe the issue you are having and code that reproduces it and any errors that you get.
Huh, I tried rewriting the program from scratch because it was too long for a post, and now my vector is working fine, I'm not sure what the problem was now, but it seams to have been fixed. Um, sorry for wasting your time...
Topic archived. No new replies allowed.