Click here to Skip to main content
15,905,875 members
Articles / Programming Languages / C

how to remove the duplicate words in C

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
3 Nov 2012CPOL 0  
You didn't specify if you need to suppress all duplicate words or just the consecutive duplicate words.Assuming the latter option, you need to split the path to get the words between the slashes. You can do this with strtok, but scanning the string yourself is not much harder: search for a...

Views

Daily Counts

License

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


Written By
CEO VISION fOr VISION
Belgium Belgium
I fell into applied algorithmics at the age of 16 or so. This eventually brought me to develop machine vision software as a professional. This is Dreamland for algorithm lovers.

Comments and Discussions