I have a programming assignment due tomorrow that I REALLY need help on. Basically, I want to make a vector-like interface for a singly linked list. I have the [ ] operator overloaded to work with it, but if I say "list[1] = "xyz"", it doesn't work. I know that I need to overload the = operator, but I don't know how I can overload it with [ ] AND =. Any help would be greatly appreciated. Here's a link to my code if that helps.code
I posted this thread in Software and Programming too, but I really need help. Please don't flame me for doing this. I PMed the mods about this and if they say it is a problem I will get rid of this post. Thanks for your help!
I posted this thread in Software and Programming too, but I really need help. Please don't flame me for doing this. I PMed the mods about this and if they say it is a problem I will get rid of this post. Thanks for your help!
