4
votes
5answers
882 views

String traversal program in C

My task was to write a function in C where a string such as {2210090,34566,87234,564676} would be given as input and the function had to find out the count of ...
2
votes
3answers
1k views

String in ANSI C?

I'm trying declare a string in ANSI C and am not sure of the best way to do it. ...
1
vote
5answers
384 views

Delete each character in one string that matches any character in another

I am trying to solve an exercise in which I am given the following function: ...
9
votes
4answers
139 views

Bare-bones string library

After years of criticizing others, I've finally found the time and worked up the courage to polish up one of my bits of code and solicit criticisms of my own. This is a simple dynamic-string library ...
7
votes
6answers
4k views

Finding the most frequent character in a string

This is in C/C++ (using a c-string as input). I'm curious if my solution could be more efficient than it currently is. ...
3
votes
4answers
285 views

Wildcard search in C

In the effort to improve my C knowledge, I tried creating a wildcard search function: ...