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 PostWell if I had to do this, I would investigate binary trees or get the book "The C Programming Language" which has an example of this code...
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.