0

Hello, im having abit of a problem, I'm trying to compare two strings for matching characters, so far I have used the 'strpbrk' function but this is only returning the first instance of a match. Can someone please tell me what I could use to find all the matches.
thank you very much.

4
Contributors
4
Replies
5
Views
11 Years
Discussion Span
Last Post by Day Brown
0

Hello, im having abit of a problem, I'm trying to compare two strings for matching characters, so far I have used the 'strpbrk' function but this is only returning the first instance of a match. Can someone please tell me what I could use to find all the matches.
thank you very much.

Assembly language.

0

> Assembly language.
Except for the fact that this is a C/C++ forum...

As may be, but C can call an assy coded binary.
And in old fashioned dos assy, there are lots of subroutines to deal with ascii input a byte at a time, and then send it to std out.

Now, the prof mite not like that in an academic course, but if someone is trying to just solve the problem, its duck soup in assy.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.