Hey again! I've asked a question here once and have been lurking ever since. I was working on a new program and have come across problem. I don't really know what's wrong so I assume I overloaded something. The problem is in this snip of code
for(int m=0; m<num+1; m++)
{
if((intarray[m]>begllts) && (intarray[m]<endllts));
{
cout << dubarray[m] << "C" << stringarray[m];
total += intarray[m];
count ++;
}
}
intarray, dubarray, and stringarray are all Dynamic arrays.
The error is:
error: no match for ‘operator>’ in ‘*(intarray + ((unsigned int)(((unsigned int)m) * 8u))) < begllts’
error: no match for ‘operator<’ in ‘*(intarray + ((unsigned int)(((unsigned int)m) * 8u))) < endllts’
I can post more code if needed, but I haven't commented it yet. I usually keep my pseudocode separate from my program until the finished product so I don't get confused in all my comments :)
Thanks in advance!
(As always, I'd prefer if you show me or trick me into how I can fix it rather than giving me the code. I love coding and want to learn everything, not just have someone do it for me)