Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

counting how many times each word appears in binary file

pixie123pixie123 Member Posts: 8
hello :) i have one homework to do but i dont understand how to do it, so:
i have given binary file that contains words that are separated with space or punctuation
and i have to count how many times each word appears in this binary file and words in this file are written with 1 letter, 2 letters...16 letters
and programm have to put words into table that is realised like array from lists.
and each list elemnet contains word and count (how many times it appears in file) and pointer to next element
so if anyone can help me with this, with code or just with idea how to do it in c++ i will be very gratefull :)
Sign In or Register to comment.