Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

talexb's scratchpad

by talexb (Canon)
on Jun 04, 2004 at 18:06 UTC ( #361095=scratchpad: print w/replies, xml ) Need Help??

char (*pfnStringSearch)(const char *, const char *); ... pfnStringSearch = ((iCaseSensitive)?strcasestr:strstr); produces warning: assignment from incompatible pointer type error: invalid type argument of ‘unary *’ The two subroutines are defined as char *strstr(const char *haystack, const char *needle); char *strcasestr(const char *haystack, const char *needle); <Soltis> mst: In the section "Warning on \1 instead of $1" where it actually mentions it -- I'd append "see <link>" to the phrase "you can get yourself into trouble if you then add an /e modifier"
Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2016-10-27 13:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (362 votes). Check out past polls.