Thanks for the updated response. I started to suspect that I needed to overload <, but I don't have enough familiarity with C++ to know if that was correct or not.
I gutted my program to see if the above code would compile. I received the following errors:
LIBCD.lib(wincrt0.obj) : error...
Thanks for the fast response. I'll be sure to CODE my snippets in the future. (And I feel pretty dumb for using the wrong string operator.)
I've been a little confused about this program that I'm attempting to create. I wouldn't be using a class at all, but I have a requirement to represent...
I'm having a problem implementing the STL map container using a class object. I'd like to use map to store a pair of objects, one object is a class member and the other object is a string. Here's a simplified version of the code that I wrote. Any guidance would be much appreciated here. (I chose...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.