• Top Members
    Reps
    Posts
  • 834 Replies
    2585 Replies
  • 716 Replies
    2025 Replies
  • 331 Replies
    1928 Replies

Reading from .txt file and hash the values?

Locked
no avatar
NoWayIn
VIP - Donator
Posts: 444

Reading from .txt file and hash the values?

Tue Apr 18, 2017 4:29 am

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?
Last edited by NoWayIn on Thu Dec 28, 2017 10:59 pm, edited 1 time in total.

User avatar
CodenStuff
Site Admin
Posts: 4361

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

Sat Apr 22, 2017 10:49 am

C++ drives me nuts so I don't use it lol

Perhaps this could help though: http://www.cplusplus.com/forum/beginner/78150/
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.

Locked

Return to “General coding help”