cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Ascii code
Ascii code
Mar 12, 2013 at 11:25am UTC
jocelynekhoury
(1)
Hi experts,
how can i get the number of times a character appears in a string using the ascii method?
thank you in advance.
Mar 12, 2013 at 11:35am UTC
abhishekm71
(820)
you can use the count algorithm in c++. Following links explain
http://stackoverflow.com/questions/3867890/count-character-occurrences-in-a-string
http://www.cplusplus.com/reference/algorithm/count/
Topic archived. No new replies allowed.