User: backslashV

  • Public profile

User profile: backslashV

User info
User name:backslashV
History
Joined:
Number of posts:21
Latest posts:

iterator out of bounds
yes I did. words.end() returns an iterator so it won't be correct to compare a dereferenced iterator...

iterator out of bounds
thank you. I think you meant while( (it + 1) != words.end() && *it == *(it + 1)) right?

iterator out of bounds
this is the code I had before but lost some points due to the out of bounds error for the while loop...

hashing words read from a dictionary file
I am trying to create a hash function that calculates the hash for words that are read from a file. ...

reading words from a txt file into a string vector
ok I found my mistake. I forgot the * for the inner while loop.

This user does not accept Private Messages