Search:
Type: Posts; User: JaySoyer
Search:
Search took 0.28 seconds.
-
February 16th, 2012, 10:08 AM
Unfortunately I can't give the full code for multiple reasons. However monarch sent me on the right track. Fixed the problem. Eclipse offered two ways to link with header's outside the project...
-
February 15th, 2012, 12:13 PM
void RemovePhrase()
{
string input;
long int num;
cout << "Enter phrase ID number to delete (0 cancel): ";
getline(cin, input);
num = strtol(input.c_str(), 0, 10);
-
February 15th, 2012, 11:27 AM
So you mean the subscripting takes away from the fact its a Red Black tree? I didn't think you could get more efficient then O(Log N) access with that type of tree.
I always here so many...
-
February 15th, 2012, 11:16 AM
Anyone know how to fix this semantic error or why its screaming at me?
long int num = strtol(input.c_str(), 0, 10);
Causes a semantic error: 'strtol' is ambiguous.
Not sure if its more an...
-
February 10th, 2012, 03:40 PM
Thanx for all the help guys. I went ahead and just did another malloc and then memcpy everything over and free the old memory block. However this still failed as those addresses which were...
-
February 4th, 2012, 09:15 PM
Bare with me. Say I do this initially. Variables have global scope.
void* mBuffer = malloc(size); //Start of the memory buffer
void* mBuffFree = mBuffer; //Points to next available...
-
February 4th, 2012, 07:15 PM
We seem to be having a communication problem.
I know that. You're referring to a reply in which, I still didn't feel like explaining why I wasn't actually using structs. The given question was...
-
February 4th, 2012, 05:28 PM
Ok, I'm being critique in something I was just trying to dumb down for the purpose of my REAL question. Which was what happens to the internal pointers and not am I programming this correctly. ...
-
February 4th, 2012, 03:00 PM
Oh, forgot to mention that each Node struct would be variable in size so an array is out of the question.
-
February 4th, 2012, 01:26 PM
So I'm creating a simple memory buffer in C. Lets say I create the buffer of memory:
void* pBuffer = malloc(1024);
This buffer will be used to hold a bunch of structs.
-
January 27th, 2012, 03:48 PM
Well that's a sneaky little devil. I'm so used to checking for null pointers that way, I neglected to see that there was a find method for maps.
Oh I changed that data type for readability. ...
-
January 27th, 2012, 02:21 PM
So I'm very confused on why I'm getting an error here. I've dumbed down my code for simplicity and removed irrelevant code. Hopefully it doesn't take away the issue.
class Foo
{
public:...
|
Click Here to Expand Forum to Full Width
|