my fault... oops
try this
char* strchr(const char* c, char c2)
{
for(;*c!='\0';c++)
if(*c == c2)return const_cast<char*>(c);
return 0;
}
------------------
Keep it brief

|
Results 1 to 12 of 12
Thread: strchr in c++Threaded View
|
|