i dont have idea what string function must be used to find consecutive characters . example is the word commit it will output the letter m . tnx for th help :D
theCompiler
0
Light Poster
Recommended Answers
Jump to Posti dont have idea what string function must be used to find consecutive characters . example is the word commit it will output the letter m
Your question is not clear. What do you mean to say consecutive characters? The example you gave does not explain the problem well.
Jump to PostDoes it really need to be a String function?
Because you can use a simple for loop , if/else statement and a counter to output the consecutive character
Though if (any) String Function is required at all you can use strcmp on each index(a letter) and the index …
Jump to PostDoes it really need to be a String function?
Because you can use a simple for loop , if/else statement and a counter to output the consecutive character
Though if (any) String Function is required at all you can use strcmp on each index(a letter) and the index after that(next …
All 9 Replies
myk45
48
Posting Whiz
zeroliken
79
Nearly a Posting Virtuoso
zeroliken
79
Nearly a Posting Virtuoso
theCompiler
0
Light Poster
theCompiler
0
Light Poster
zeroliken
79
Nearly a Posting Virtuoso
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
zeroliken
79
Nearly a Posting Virtuoso
nHulk
-5
Light 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.