Forum: C++ Jul 6th, 2009 |
| Replies: 1 Views: 572 Well, that was a quick fix, I found that while cleaning up the code, I added a small destructor to the code that was screwing up memory allocation, so that's what was giving me the problem. Sorry... |
Forum: C++ Jul 6th, 2009 |
| Replies: 1 Views: 572 I was working on an assignment, and I had finished everything and was cleaning up the code by just adding some comments to it and everything, and when I tried to run it again afterwards, it came up... |
Forum: C++ Jul 5th, 2009 |
| Replies: 4 Views: 409 Umm ... I don't think there is a problem now, it's working fine for me. Are you asking me that because you see one and you want me to look for it ... ? |
Forum: C++ Jul 5th, 2009 |
| Replies: 4 Views: 409 Thank you, that works, but I also asked my instructor about it, and he told me that he wanted us to do something along these lines:
vector<string> *Table;
Table = new vector<string>[size];
... |
Forum: C++ Jul 4th, 2009 |
| Replies: 4 Views: 409 Hi, for a class, I'm trying to implement a separate-chaining hash table stored in a vector that contains pointers to vectors where the keys will be stored. This is basically what I have:
... |