Cool. Thank you so much for your help!
Type: Posts; User: Amoxaphobic
Cool. Thank you so much for your help!
I have had issues with importing files from different systems, or reloading removed files from a project. When loading the files, it's almost as if it's in a language that the compiler doesn't like...
LoL. I wasn't asking you to defend anything, and I totally understand your reasoning. I was simply saying that I liked it... you do know a lot. I am very glad that you are willing to help others out...
Awesome. I can always count on you Elysia. Thank you!
BTW... I still liked your previous signature of "You know everything!" LoL.
Thanks for the reply.
That helps, but let me see if I understand this...
The code will run the for loops for every two elements (the call on itself will eventually lead to two elements which are...
I have a homework assignment to build a linked list that mimics the list library. I do understand how to do this, and I understand all the parts of the list. However, the homework assignment is...
So I stumbled upon this code when trying to find the best way to obtain the max subsequence (mss).
int mss(int* a, int left, int right){
// If the array is a one element array, compare...
Right, back to the basics. Sorry for that.
I got it... I have to refer to how it's made. In this particular case I have a ptr_buffer (this->ptr_buffer) which is where the pointer actually is. So...
So... I guess I'm a bit confused. Isn't that what I had?
Something to the extent of:
delete [] this;
*this = copiedStr;
If I do that, I get an error? Sorry...
Okay, so if that's the case, how do I access it (the m_str)? The function only passes the second string (the string in the which the "current" string will be). So, I guess that's where I am having...
Thank you for this. The only question I have is, what is the "m_str"? Is that the current string?
laserlight... thanks for your advice, but if I did that, wouldn't I still have to make a similar...
I am trying to duplicate the string library (to learn it better... and I won't lie, it's for an assignment).
But I am having trouble trying to override the = operator.
Here is what I have:
...