i need a c programme that reads a txt that you chosse then count the number of each word in the programme i have e.g.
"hello this word is very funny this is not"
hello 1
this 2
word 1
is 2
very 1
funny 1
not 1
i would love if anyone could help me with logic or real code ty guys
lamoracke 0 Newbie Poster
Recommended Answers
Jump to Postgoogle is your friend. Here is a binary tree program written in C that was at the top of the google links. All you have to do with it is change the tree nodes to hold strings instead of integers and add an integer counter to count …
All 4 Replies
gerard4143 371 Nearly a Posting Maven
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
lamoracke 0 Newbie Poster
holocron -2 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.