Thanks.
Type: Posts; User: efgee
Thanks.
Yep, this seems to solve this.
You guys/gals have been amazing, I appreciate your (everybody's) help.
One last question though:
What is better to use?
this:
Thanks for your reply.
This code:
for (typename reverse_iterator i = rbegin(); i != rend(); i++)
gives this error message:
table.h: `reverse_iterator' does not name a type
Thank you all for your comments.
Changed the 'For' code to:
for (typename vector <T>::reverse_iterator i = key.rbegin(); i != key.rend(); i++)
now the compiler seems to run through...
Wow, you guys/gals are fast.
Thanks for the fast reply.
Actually with the code posted above there have been more than 3 errors.
The 3 errors mentioned are the ones I knew where pretty hard to...
Yeah stupid me I forgot to post the error messages, here they are.
Regarding this line:
if ((*i)->name ^ *key)
table.h: base operand of `->' is not a pointer
table.h: no match for...
Hello,
trying to get some code converted from Visual C++ 6 to gcc.
I've got pretty far, but as a C++ newbie I'm little bit lost with templates.
It would be very nice if somebody could help me to...