Page 1 of 1

Reading from .txt file and hash the values?

Posted: Tue Apr 18, 2017 3:29 am
by NoWayIn
So, I'm trying to read from a txt file, which contains random words. After the words are read by the program, it will output the words and then hash each word, then output the result.
So far, It doesn't really work the way I want. It doesn't read the words 1 by 1. The words in the txt file is something like "cat dog house", but it doesn't read the words 1 by 1.

Any help?

Re: Reading from .txt file and hash the values?

Posted: Sat Apr 22, 2017 9:49 am
by CodenStuff
C++ drives me nuts so I don't use it lol

Perhaps this could help though: http://www.cplusplus.com/forum/beginner/78150/