Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2016
258
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
strstrcnt
(
const
char
*
s,
const
char
*
p
)
{
int
cnt
=
0
;
if
(
!
*
p
)
return
0
;
for
(
;
s
=
strstr
(
s, p
)
;
s
+
=
strlen
(
p
)
, cnt
++
)
;
return
cnt
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
TestingCustomCSS_Ignore
CSS | 2 hours ago | 0.21 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!