Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
runtime example
SUBMITTED BY:
Guest
DATE:
May 18, 2014, 2:32 p.m.
FORMAT:
Text only
SIZE:
326 Bytes
Raw
Download
Tweet
HITS:
2124
Go to comments
Report
Runtime Example
/* silly C example for GeSHi */
#ifndef getenv
extern char *getenv ();
#endif
static char *
my_index (str, chr)
const char *str;
int chr;
{
while (*str)
{
if (*str == chr)
return (char *) str;
str++;
}
return 0;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus