Type: Posts; User: originalfamousjohnsmith
Search took 0.01 seconds.
August 13th, 2010, 09:02 PM
I'm sure it comes up all the time a project has too much data simply keeping them in files that are edited by hand, but not so complicated that a big fancy tool like a DB is necessary.
April 27th, 2010, 01:08 AM
I want to use a bunch of code from one project in another project, one has to be a dll, the other has to be a special mll file that is just a maya version of a dll file.
I already have it in its...
March 7th, 2010, 02:40 AM
Nevermind. I found it was easier and much faster to just convert it to hessian normal form.
March 6th, 2010, 09:26 PM
I already have the means to check if two points are on the same side of a plane defined as three points. That is almost always the case that comes up, but in one place all I ever have is a point and...
February 2nd, 2010, 05:37 AM
I want to be able to find the average normal at a vertex on meshlike data (I don't have winding/render order to work with and can't easily get it).
I have the basic idea, but the problem is that I...
January 28th, 2010, 07:09 PM
For some reason, it does not show up in that list. Maybe it is hidden? Is there a way to unhide?
Ok, the other one worked. I guess it won't show up if not debugging.
January 28th, 2010, 07:04 PM
It sounds silly, but I seem to have been defeated by the VC++ GUI.
When debugging, I no longer get the window that has the call stack in it, and can't seem to figure out how to get it back. I must...
December 21st, 2009, 05:00 PM
It would be called not using C++, no matter what method you use debugging it will be an issue. There's a difference between being helpful and argumentative, and argumentative nonsense that doesn't...
December 21st, 2009, 03:14 AM
Remember a lock's not useful if just one thing uses it. The receive data looks ok, but if the buffer is shared between threads both sides must use the lock, if not, it's not needed.
December 20th, 2009, 11:55 AM
Well, I finally found the issue.
It looks like I use something before it gets created if things get initialized in certain order. I didn't suspect that location because it has been like that for...
December 20th, 2009, 11:31 AM
heap = GetProcessHeap();
systemHeap = HeapCreate(0, 10*1024*1024, 100*1024*1024);
More specifically part of my question is if the above code is OK in the sense I can continue to use both heap...
December 20th, 2009, 03:23 AM
Some percent of the time, my program is crashing on startup, only in optimized mode.
I know fairly well about static dynamic initialization order fiasco. It behaves exactly like that but my...
November 25th, 2009, 09:21 PM
Suddenly I get a prompt to save out a key for EFS, but I have never turned on this feature and it's never done this before. I am using windows vista ultimate. Is this normal or is there a problem? A...
November 24th, 2009, 04:03 AM
Ok, yes I guess it's basically a 'policy'. Some of this does not gel well in my brain, but I see how helpful a policy can be now and what it means, and it is sort of like the CRT.
Anyway I end up...
November 24th, 2009, 01:46 AM
You probably have those defined already.
November 24th, 2009, 01:31 AM
Because of performance and about 2 million other reasons. I don't mind virtual methods but it would be a big mistake here.
Not sure there are any better options for me, though. The suggested...
November 22nd, 2009, 03:46 PM
Thank you, I think that will help.
November 22nd, 2009, 04:34 AM
Sure, there's a million ways, but we'd have to know exactly what you are doing to make that judgement.
It's almost certain you can't get away with lockless programming in a case like this. It...
November 22nd, 2009, 04:28 AM
Of course you get the wrong address, what you are doing makes no sense because the types inside are different. You might want to use a void* instead, or it could be what you want is not something...
November 22nd, 2009, 04:24 AM
Pointers work the same as the 'pimpl idiom' in this regard, and can allow you to not include it in your header at all which can be very nice.
November 22nd, 2009, 03:46 AM
I want to make a template that subclasses a parent but changes just one method.
This should be easy, technically speaking, since it should all be generated code. Virtual method is not necessary,...
November 17th, 2009, 05:29 AM
If that's impossible, try separating into multiple locks, on a section by section basis (or whatever). It won't help as much as a more thorough solution but it can speed things up a lot under OSes...
November 14th, 2009, 04:47 PM
I expected the diagram to have abit more and got a laugh when it said just 'extremely large data structure' 1+2 and some arrows, but I guess it is enough anyway.
Obviously, you have to break the...
November 14th, 2009, 02:09 AM
He needs to not run out of memory, that's all there is to it. It's kind of insane that it just mindlessly reads files and grabs everything it can like that. It's more like a virus than a program.
November 13th, 2009, 08:49 PM
Well, the point is to do it in a way order won't matter, that won't require any overhead, and doesn't require making every single variable use a lock and a guard variable.
Turns out there is no...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!