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.

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.

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

> 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.