Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
cant compare the length of names through reading characters

What I have tried:

i have tried to separate the lengths but unable to actually
Posted
Updated 7-Sep-17 0:37am
v2
Comments
OriginalGriff 7-Sep-17 6:16am    
What have you tried?
Where are you stuck?
What help do you need?

Share the relevant code fragments, and we'll see what we can do...
Use the "Improve question" widget to edit your question and provide better information.

1 solution

If do you mean 'how to compare the length of the different words in a text file' then you might first collect all the words (see, for instance c++ - Most elegant way to split a string? - Stack Overflow[^]) and then compare their length.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900