iMalc, Thanks. I've been fiddling with std::list for a little while now and things still aren't working. However I have found the root of my original problem. (Well, sorta)
Currently my main dev...
Type: Posts; User: josephjah
iMalc, Thanks. I've been fiddling with std::list for a little while now and things still aren't working. However I have found the root of my original problem. (Well, sorta)
Currently my main dev...
robwhit, I'm not sure that I understand the reasoning behind that.
What I'm thinking, If I use:
list <Node*> LIST;
and
LIST.push_back(new Node);
I will be creating a new object and...
Ok, I wrote up a simple little program to use std::list but it shares the *exact* same problem as my code, except this takes up more memory, and doesn't create the nodes as fast... I am totally at a...
Alright, I see. No, my original code didn't initialize them either, I didn't really have any reason for them to begin in a certain memory location. As long as I am keeping the value of NodeStart and...
I'm thinking this might have something to do with it, but I don't entirely understand what they mean... I'm going to keep trying new things to see if I can get this to work, but as of now the...
Yeah... That's what's puzzling me, I don't see anything else I could release.
It seems that I am leaving something behind in each node that is roughly 10-15% of the size of the node, and when I...
Swoopy, I tried your suggestion, but it doesn't seem to work, when I start up a program to try to steal back some memory it has no effect, (or simply begins to write to my page file when it has...
Swoopy, Updated, thank you. Do you know of any way to reclaim this memory myself rather than relying on windows to do it for me? because if I have this running for possibly days without exiting I...
Well, as I mentioned, this is a simplified revision of my code (which was encapsulated within a class with only a few necessary global variables)
Well, I do have working node insertion and...
Hey everyone, I've been working with linked lists for a little while now, and I have them implemented in several of my programs, however... I never really took the time to optimize my node deletion...
hockey97, I would like to point you to http://www.osdever.net and http://www.osdev.org
Both are good operating system development sites, I myself wrote a small hobby OS a few years ago, I never...
Hey... that's an interesting question... I tried moving just before the class, and it got rid of all errors in the test code, I will try to implement this in my larger setup and get back to you...
May I ask what sort of application this loop is for? I don't necessarily know how to make a delay OS/API independent other than a loop, but depending on the situation a simple loop may be appropriate...
I am afraid it is not that simple UMR_Student... I am trying to return a pointer to the structure... not a simple integer, thank you though.
Hello, I'm having some trouble getting a piece of code to work, I've simplified it down as much as I could... so here it is.
It is basically an organization issue because I want to add a few more...