Page 1 of 1

how do I make a program in c++ if I want to count the frequency of words in a string array (if a word get count before i

Posted: Thu May 05, 2022 1:13 pm
by answerhappygod
how do I make a program in c++ if I want to count the frequency of words in a string array (if a word get count before it will never count it again)For example (if string array has words:"hello","boy","book","hello" in here there are two words 'hello' if array start to count then it will just count it twice not double twice)
use header file iOSstream, strings
pls write the code also and use c++ santex